|
From: Stas Z <sta...@gm...> - 2005-06-02 10:17:07
|
Hi Waseem I added testlibgmail2_stas.py to CVS/GA-libgmail2. It's basically your testsuite but refactored a bit to reflect my views on a test suite. I *don't* think your testsuite lacks things or is in need of refactoring, that's why I made a seperate module. IMHO, it's better to call the 'TestSuite' method on unittest instead of 'main' and that some extra messages in case of a 'fail' greatly improve the readability when som= e of the test fail. Just look at 'testlibgmail2_stas.py', it's easier then I'm trying to explain it here :-) Again, there's nothing wrong with your testsuite, I'm only showing my appr= oach. Stas --=20 "Everything that is really great and inspiring is created by the individual who can labor in freedom." -Albert Einstein |