Re: [Zope-dev] New testrunner on the Zope 2 trunk.

2005-12-07 Thread Paul Winkler
On Tue, Oct 25, 2005 at 03:13:11PM -0400, Jim Fulton wrote:
 I just checked in a new test runner on the trunk.  It is mostly backward
 compatible with the old test runner.  You can get help on the test runner 
 by running
 it with -h.  There is more extensive documentation in
 lib/python/zope/testing/testrunner.txt.

Somewhere I believe you said that the new testrunner is
backward-compatible with the old testrunner's positional arguments used
as regexes for matching modules.  Not a big deal to me, but AFAICT this
is not true with a current Zope2 trunk sandbox:

[EMAIL PROTECTED] Zope-Trunk $ ./bin/zopectl test -m AcceleratedHTTP.*
Running tests via: /usr/bin/python
/home/pw/Downloads/Apps/Net/Zope-Trunk/test.py -v --config-file
/home/pw/Downloads/Apps/Net/Zope-Trunk/etc/zope.conf -m
AcceleratedHTTP.*
Parsing /home/pw/Downloads/Apps/Net/Zope-Trunk/etc/zope.conf
Running tests at level 1
Running unit tests:
  Running:
.
  Ran 1 tests with 0 failures and 0 errors in 0.246 seconds.

[EMAIL PROTECTED] Zope-Trunk $ ./bin/zopectl test AcceleratedHTTP.*
Running tests via: /usr/bin/python
/home/pw/Downloads/Apps/Net/Zope-Trunk/test.py -v --config-file
/home/pw/Downloads/Apps/Net/Zope-Trunk/etc/zope.conf AcceleratedHTTP.*
Parsing /home/pw/Downloads/Apps/Net/Zope-Trunk/etc/zope.conf
Running tests at level 1
Running unit tests:
  Running:
..
(snip)

  Ran 4336 tests with 0 failures and 0 errors in 399.069 seconds.


-- 

Paul Winkler
http://www.slinkp.com
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] New testrunner on the Zope 2 trunk.

2005-10-25 Thread Jim Fulton


I just checked in a new test runner on the trunk.  It is mostly backward
compatible with the old test runner.  You can get help on the test runner by 
running
it with -h.  There is more extensive documentation in
lib/python/zope/testing/testrunner.txt.

Note that the new test runner complains if test_suite functions don't return
test suites.  There is a zope.i18n test suite that it currently complains about.
Unfortunately, I can't just fix this because it is an svn:external and
it will be too painful to create a tag with the necessary fix in the short
term.  I expect we will be integrating a newer version of Zope 3 later in the
week and we'll take care of this then.

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )