[TIP] Test discovery for unittest
fuzzyman at voidspace.org.uk
Sat Apr 4 15:40:53 PDT 2009
Robert Collins wrote:
> On Sat, 2009-04-04 at 04:02 +0100, Michael Foord wrote:
>> Thanks - I should look at using a test loader rather than importing the
>> modules and pulling out the test cases myself.
> Done, attached.
Ha - good timing. I'd *just* committed a change to use the test loader -
basically using the same technique as you without the DiscoveringTestSuite.
Would be interested in which approach people prefer and what else should
be done before putting into unittest (integrating with unittest -m
command line args is the most important thing IMO).
More information about the testing-in-python