[TIP] Meta-test methods...

Douglas Philips dgou at mac.com
Fri Apr 24 06:16:48 PDT 2009

On or about 2009 Apr 24, at 1:25 AM, Robert Collins indited:
> At least in unittest, you can do this just by generating whatever  
> tests
> you want in TestSuite.__iter__.
> countTestCases clearly can't do a lot there, but that is the only  
> method
> in the protocol that conflicts with generation.

True, but the point here is to create the tests in the test code  
itself. :)


More information about the testing-in-python mailing list