unittest: collecting tests from many modules?

Benji York benji at benjiyork.com
Sun Jun 26 22:27:37 CEST 2005


"Jorgen Grahn" wrote:
>What's the best way of creating a test.py which
>- aggregates the tests from all the test_*.py modules?

You might want to check out the test runner in Zope 3 
(svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/app/testing)

It aggregates test reporting, does code coverage, lets you select 
subsets of the tests to run, as well as control verbosity.

And, if you feel experimental you might want to preview the new Zope 
test runner currently under development 
(svn://svn.zope.org/repos/main/zope.testing).
--
Benji York



More information about the Python-list mailing list