[Zope-dev] unit test policy questions

Hanno Schlichting hanno at hannosch.eu
Thu Jul 29 10:40:20 EDT 2010


On Thu, Jul 29, 2010 at 4:35 PM, Tres Seaver <tseaver at palladion.com> wrote:
> I don't believe that zope.testing's testrunner works without 'def
> test_suite()'.

Oh it does. Ever since 3.8.0 from mid 2009:

- Testrunner automatically picks up descendants of unittest.TestCase
in test modules, so you don't have to provide a test_suite() anymore.

This just doesn't work for doctests and various forms of auto
generating test cases and other fancier constructs.

Hanno


More information about the Zope-Dev mailing list