[TIP] Test discovery for unittest
fuzzyman at voidspace.org.uk
Fri Apr 3 20:02:27 PDT 2009
Ben Finney wrote:
> Michael Foord <fuzzyman at voidspace.org.uk> writes:
>> For those who might be interested I've been playing with test
>> discovery for unittest. I have a simple working prototype in about
>> 80'ish lines of code.
>> I'll be using this sandbox to turn unittest into a package as well.
> Feel free to plunder my own attempt at this:
> in particular the ‘make_suite’ and related functions.
> All licensed under the PSF-2 license or any later version.
Thanks - I should look at using a test loader rather than importing the
modules and pulling out the test cases myself.
More information about the testing-in-python