[TIP] Test Parameterization with unittest

Doug Philips dgou at mac.com
Mon May 11 12:28:36 PDT 2009


On or about Monday, May 11, 2009, at 01:52PM, Michael Foord indited:
>It doesn't seem relevant to the former. For the latter I quite like 
>dynamically creating test methods in a metaclass.

Yes, for generating tests on the fly.
The metaclass thing is cute, but for my use case it happens too early (when the test classes are loaded), I need to wait until the tests are running.

-Doug




More information about the testing-in-python mailing list