[Zope-CMF] Running functional tests in a buildout environment

Dieter Maurer dieter at handshake.de
Mon Jan 12 13:48:27 EST 2009


Charlie Clark wrote at 2009-1-12 17:54 +0100:
> ...
>bin/test -vv -fs ~/CMF-Sandbox/cmf-trunk/src/Products.CMFDefault/ 
>Products/CMFDefault/browser/ tests.py
>Running tests at level 1
>Total: 0 tests, 0 failures, 0 errors in 0.000 seconds.

For modern Zopes the value for the "-s" option is a module
(e.g. "Products.CMFDefault").
You would use "--package_path" when you want to specify
a location for a package (likely).

There is BBB code that tries to handle paths also for
"-s" but this code is highly dubious (and probably not
working in all cases).

The "zope.testing" experts are Jim and Christian (Th.).



-- 
Dieter


More information about the Zope-CMF mailing list