[Zope-CMF] More unit test questions

Lennart Regebro regebro at nuxeo.com
Fri Aug 20 11:39:43 EDT 2004


OK, I got test.py running. But if I run
    bin/python test.py Products
it will happily try to run the tests in all products. But if I type
    bin/python test.py Products/Productname
It will find no tests at all.
    bin/python test.py Products/Productname/tests
is no better.

BUT!

If I type
    bin/python test.py lib/python/Products/ZCTextIndex
it does find the tests for ZCTextIndex.

In short: Heuh? What are the difference that makes it impossible to test 
just one products unit test if it's located in Products instead of 
lib/python/Products. Or is there a difference in how the CMF tests are 
written? Anybody know?





More information about the Zope-CMF mailing list