[Zope-Coders] Re: [Zope-Checkins] CVS: Zope3/lib/python/ZODB - utils.py:1.8.22.1
Martijn Pieters
mj@zope.com
Mon, 3 Dec 2001 17:18:45 -0500
On Mon, Dec 03, 2001 at 03:16:37PM -0700, Jeffrey P Shell wrote:
> On Monday, December 3, 2001, at 02:05 PM, Martijn Pieters wrote:
>
> >Whoops, wrong forward address.
> >
> >----- Forwarded message from -----
> >
> >Date: Mon, 3 Dec 2001 16:04:24 -0500
> >To: Jeremy Hylton <jeremy@zope.com>
> >Cc: Zope-Coders
> >Subject: Re: [Zope-Checkins] CVS: Zope3/lib/python/ZODB -
> >utils.py:1.8.22.1
> >
> >On Mon, Dec 03, 2001 at 03:54:38PM -0500, Jeremy Hylton wrote:
> >>Sorry about that. There are so many tests that are skipped in the
> >>testrunner that I didn't even notice that all the ZODB tests were
> >>being skipped. (I hadn't done a build in this checkout.)
> >>
> >>Is anyone else seeing lots of skipped tests? Can they be un-skipped?
> >
> >If there is an import error in the test module itself, the test is
> >skipped;
> >I believe someone as working on this?
>
> If it's Zope 3, you can run all the tests (apparently) by either:
>
> PYTHONPATH=lib/python python2.2 utilities/unittestgui.py \
> Zope.Testing.allZopeTests
>
> or (non-gui):
>
> PYTHONPATH=lib/python python2.2 /usr/local/lib/python2.2/unittest.py \
> Zope.Testing.allZopeTests
The problem is that allZopeTests will not include tests where the import of
the test*.py file fails due to an import error. This is a bug and needs to
be fixed.
--
Martijn Pieters
| Software Engineer mailto:mj@zope.com
| Zope Corporation http://www.zope.com/
| Creators of Zope http://www.zope.org/
---------------------------------------------