[py-dev] Convention for TDD
Brian Dorsey
briandorsey at gmail.com
Tue Oct 11 07:49:27 CEST 2005
On 10/10/05, holger krekel <hpk at trillke.net> wrote:
> there is no single convention i know off. I guess that
>
> DONT_TEST_test_whatever
>
> is the one i have seen most often.
Right after I leared about the disabled attribute on classes (
http://codespeak.net/py/current/doc/test.html#disabling-a-test-class)
I tried to use it in the body of a test function. I don't know why I
thought that would work, but I did. ;)
Now, I change the names to disabled_test_whatever().
Take care,
-Brian
More information about the Pytest-dev
mailing list