Re: unit test policy questions

Hanno Schlichting <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
On Thu, Jul 29, 2010 at 4:35 PM, Tres Seaver <[email protected]> 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
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.