[Zope-Coders] Testing from an INSTANCE_HOME
Toby Dickenson
Toby Dickenson <tdickenson@geminidataloggers.com>
Wed, 28 May 2003 13:07:41 +0100
> I've seen discussion on this recently so thought I'd chime in.
> It's has been impossible to run product tests from an INSTANCE_HOME
> setup for some time now due to testrunner.py importing the Testing
> package.
Since that change, Ive been running product tests with:
env STUPID_LOG_FILE=/dev/stderr
PRODUCTS_PATH="%(PRODUCTS_PATH)s:/home/tdickenson/path/to/my/products"
python2.1 /path/to/zope/utilities/testrunner.py -d .
(minus line breaks)
I would be interested to know if there is a better way.