Oliver Drake <obdrak...@gmail.com> added the comment:

Thanks for the comments and prompt response :) I think I misunderstood the 
nature and level of these unit tests. I will fix the specific issues you 
mentioned, and either cut or modify the less useful/too low level tests (e.g. 
disable). In general I will change my approach to be more high level. I will 
steer away from testing the implementation line by line, but I believe there 
should be unit tests that enforce the API that is published to the user - i.e. 
one unit test for every class, method and function, testing inputs, outputs, 
exception handling and general behavior. So if a developer changes the API or 
the general behavior of a function he/she should have to change the 
documentation and the appropriate unit test - or do we want to avoid this type 
of testing completely?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11332>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to