[TIP] Test discovery for unittest

Robert Collins robertc at robertcollins.net
Tue Apr 7 07:03:24 PDT 2009

On Tue, 2009-04-07 at 16:48 +0300, Marius Gedminas wrote:
> There is a desire in the Zope 3 world to migrate away from our own
> test
> runner to something more standard (probably nose), but nobody has the
> time to work on that (and we have features---such as test layers with
> a single expensive setUp/tearDown function pair wrapping multiple
> tests, with the tests grouped into layers according to the 'layer'
> attribute of the individual testcases/suites coming from various
> locations in the tree---that AFAIK nose doesn't have).

You might like testresources; it was written for ~ the same use case as
layers, but it is unittest compatible. [stock unittest can run things
using testresources, and they work].

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.idyll.org/pipermail/testing-in-python/attachments/20090408/dada37f6/attachment.pgp 

More information about the testing-in-python mailing list