Marius Gedminas wrote:
A long time ago test.py -s accepted directory names. Later it was
changed to take package names instead. There is some
backwards-compatibility code that replaces slashes with dots, but it is
incomplete: test.py -s src/zope would try to run the tests for a
nonexistent package "src.zope".
I have expanded the backwards-compatibility/convenience code in a
The test runner has a mapping of directory names to package names, and I
use it in reverse to get the package name from the directory name. As a
result you can use your shell's directory name completion for the test
runner command line, and, for example, test.py -s src/zope now works.
I would appreciate it if someone could check out this branch and run its
tests on Windows.
Running unit tests:
Ran 129 tests with 0 failures and 0 errors in 17.259 seconds.
http://worldcookery.com -- Professional Zope documentation and training
2nd edition of Web Component Development with Zope 3 is now shipping!
Zope3-dev mailing list