[Zope-Coders] Testing from an INSTANCE_HOME
Stefan H. Holek
stefan@epy.co.at
Wed, 28 May 2003 19:29:57 +0200
Please excuse me for not being clear.
"My" testrunner is concerned with changing sys.path and Products.__path__.
In no way does it make assumptions about Testing, the test ZODB, or even
the INSTANCE_HOME environment variable. If you want to change Testing, all
fine.
I do however believe it is somewhat nicer to type
python /Zope/utilities/testrunner.py -qia
than having to do things like Toby Dickenson (set lots of envars) or Chris
Withers (hack Testing).
Regards,
Stefan
--On Mittwoch, 28. Mai 2003 11:58 -0400 Shane Hathaway <shane@zope.com>
wrote:
>
> To be honest, your testrunner makes the problem more complicated. It
> assumes that INSTANCE_HOME absolutely must be set to lib/python/Testing.
> That is not the case. If the Testing package can use some other means to
> tell Zope to use a special database instead of using the configured
> database, Testing/__init__.py won't have to touch INSTANCE_HOME and Zope
> will do all the INSTANCE_HOME magic as usual. testrunner shouldn't have
> to know about INSTANCE_HOME.
>
--
The time has come to start talking about whether the emperor is as well
dressed as we are supposed to think he is. /Pete McBreen/