[Zope-Checkins] CVS: Zope/utilities - README.txt:1.6.224.1 testrunner.py:NONE
Jim Fulton
jim@zope.com
Wed, 17 Jul 2002 13:28:18 -0400
Update of /cvs-repository/Zope/utilities
In directory cvs.zope.org:/tmp/cvs-serv13357/utilities
Modified Files:
Tag: Zope-2_7-development-branch
README.txt
Removed Files:
Tag: Zope-2_7-development-branch
testrunner.py
Log Message:
Refactored the way Zope 2 tests are done to work with Python 2.2, in
preparation for Zope 2.7:
- Turned all test directories into packages by adding __init__.py
files.
- Fixed up some tests that either counted on being run as scripts or
depended on deep magic performed by the old testrunner script.
- Removed the old testrunner script because:
o It caused tests to fail in strange and mysterious ways under
Python 2.2
o It output tracebacks that showed only file names, not paths. This
made it really painful to find the tests that failed.
- Copied the test.py from Zope 3 into the root directory. This script
works great. It makes it easy to run all the tests, or just the
tests in a package. It has a number of options, not all of which
have been tested with Zope 2. I suspect that the build option
doesn't work.
A remaining issue is that setup.py leaves behind a build directory
that confuses the test script. I need to look into this. For now, just
delete the build directory before running the tests.
=== Zope/utilities/README.txt 1.6 => 1.6.224.1 ===
ZPublisher.Client. It provides some examples of pitfalls
and their work-arounds.
- testrunner.py -- A Zope test suite utility.
-
- The testrunner utility is used to execute PyUnit test suites. You can
- find more information on PyUnit at http://pyunit.sourceforge.net. This
- utility should be run from the root of your Zope installation.
+ Note that the testrunner.py script that used to be in this directory
+ has been replaced by the test.py script in the root directory.
The following scripts are for use with the old BoboPOS 2 fileformat.
=== Removed File Zope/utilities/testrunner.py ===