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

Robert Collins robertc at robertcollins.net
Sun Dec 13 15:23:59 PST 2009


On Sun, 2009-12-13 at 22:50 +0000, exarkun at twistedmatrix.com wrote:
> 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

Oh cool - thanks.

I think it would be nice if someone is too specific to still work
though.

-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20091214/518eeef0/attachment.pgp>


More information about the testing-in-python mailing list