Marius Gedminas wrote:
A long time ago -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: -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, -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.

-- -- Professional Zope documentation and training
2nd edition of Web Component Development with Zope 3 is now shipping!
Zope3-dev mailing list

Reply via email to