|
From: Waseem S. D. <wd...@MI...> - 2005-06-02 18:39:35
|
On Thu, 2005-06-02 at 16:44 +0200, Stas Z wrote: > I have no problem with the tests, they all pass. > I'm using the test account of course, you've received the mails about > that I hope? Yep, I made one as well. > I always want to make sure the test I use are executed in order, no > matter if order matters > or not. I think that a test suite should be as controlled as possible, > so I want my tests done > in a fixed order. > But your the libgmail2 maintainer so it's your call :-) Seems reasonable > BTW, we should think about making libgmail2 a seperate package, not a > seperate project, but > a package which is part of the gmailagent project. > It would be easier for another project to use libgmail2. Definitely. > > Thought: I can understand why you don't like the > > delete-contacts-every-time approach, but the advantage there is that we > > start with a clean slate every time, and we don't need to worry about > > maybe test suites that only half-ran, etc., before. This way you can run > > the tests on any gmail account, not one you have to prepare by hand > > first. > You can be serious about that, when I run the test suite against my > gmail account all > my contacts will be gone ! > That's why I set up another gmail account for us to use. I agree that you wouldn't want to do it on any gmail account, I just dislike the idea of having to prime the account by putting it into some special state before we can use it -- which makes things more difficult if we start to make more advanced tests, as well. Either way is fine really, I just think this approach is simpler from a testing standpoint (fewer variables). > BTW, are you on the gmailagent-devel list? It would be better to > discuss devel issues there. Yep, I've been cc:ing my mail there, and I'm a member. - Waseem |