[Zope3-dev] Zope3 unit tests

Jeremy Hylton jeremy@zope.com
Mon, 04 Mar 2002 17:05:42 -0500 (EST)


The instructions for running unit tests in the RunningUnitTests Wiki
page say to use Zope.Testing.allZopeTests as the name to pass to
unittest.py or unittestgui.py.  This will only run tests that are part
of the Zope package, which isn't all of the tests!

At the moment, people using this approach don't run tests for ZODB,
Persistence, or BTrees.  (They also miss the tests in ZopeLegacy, but
that's a good thing.)  How can we fix these instructions so that
people run *all* the tests except ZopeLegacy tests?

The test.py script will run all the tests except ZopeLegacy, so it
should be good enough for the nightly test runner.  But it doesn't
provide the GUI framework from utilities/unittestgui.py.  Perhaps
someone could extend test.py with an option to use a GUI.

Jeremy