patr...@bierans.de wrote:

> I know the TestCases are ugly, I still have no feeling for it.

I forgot to mention: instead of testing each and every thing in one big 
method put each test into a short dedicated TestCase.test_... method. That 
reduces the risk of undetected side effects and often allows you to learn 
what went wrong from the -- thoroughly chosen ;) -- name of the test method 
alone.

coverage.py is a good tool to give you an idea of what portion of your 
module code is covered by your tests.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to