[ZCM] [ZC] 1478/ 2 Comment "test.py improvements"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Mon Aug 23 16:04:20 EDT 2004
Issue #1478 Update (Comment) "test.py improvements"
Status Pending, Zope/bug medium
To followup, visit:
http://collector.zope.org/Zope/1478
==============================================================
= Comment - Entry #2 by shh on Aug 23, 2004 4:04 pm
FWIW, your #1 is no longer an issue with test.py from CVS/SVN.
________________________________________
= Request - Entry #1 by regebro on Aug 23, 2004 11:18 am
1. Trailing slashes on --libdir path prevents test.py from finding the tests. So "bin/zopectrl run test.py --libdir Products" will work, but "bin/zopectrl run test.py --libdir Products/" finds no tests. This is extra annoying since the tab/completion in most shells adds a trailing slash...
2. Finding out exactly HOW to run unittest in 2.7 was not exactly easy. The docs are completely outdated and makes no mention of how to run tests at all, it just has outdated references on how to write them (with references to the non-existing lib/python/unittest.py, for example). Even zopewiki.org calls running unit tests a "terrifying black art"...
==============================================================
More information about the Zope-Collector-Monitor
mailing list