[TIP] Test Parameterization with unittest

Douglas Philips dgou at mac.com
Mon May 11 10:39:10 PDT 2009

On 2009 May 11, at 12:33 PM, Michael Foord wrote:
> Currently trying to write tests for test discovery.

What I did to get my current itch scratched was have a new method  
prefix: "make_tests" - the unit test framework runs that and expects  
it to return a sequence of TestCase instances to be run. It was the  
simplest change I could make to get creating dynamic tests. You can  
check the archives for details.


More information about the testing-in-python mailing list