[TIP] How do I run the same test on many different classes?

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Sun Dec 13 14:50:15 PST 2009


On 10:33 pm, robertc at robertcollins.net wrote:
>
>Now, I could swear you used to be able to do:
>$ python -m unittest test_task.test_suite
>
>But it now breaks. see http://bugs.python.org/issue7501 for the issue,
>http://twistedmatrix.com/trac/ticket/4168 for the trial equivalent,

`trial test_task` does what you wanted.

Jean-Paul



More information about the testing-in-python mailing list