[ZODB-Dev] Re: ZODB test coverage

Toby Dickenson tdickenson at geminidataloggers.com
Wed Jul 16 16:12:43 EDT 2003


On Wednesday 16 July 2003 13:00, Jeremy Hylton wrote:
> On Wed, 2003-07-16 at 03:36, Toby Dickenson wrote:
> > On Tuesday 15 July 2003 19:52, Jeremy Hylton wrote:
> > > "python test.py -T" will run the tests and produce annotated coverage
> > > files in the cover directory.  It will also print a summary of all
> > > modules and percentage covered.
> >
> > I think that is only in the Zope3/ZODB4 test.py tool. For Zope2, it is
> > easy enough to "import trace" directly in the until test that needs it.
>
> I just checked, and it's there on the Zope2 head as well.

Aha! its in test.py, but not in testrunner.py. I hadnt noticed test.py 
previously.

testrunner.py was removed in Zope-2_7-development-branch, but it is present on 
the trunk. Is that an error?


-- 
Toby Dickenson
http://www.geminidataloggers.com/people/tdickenson



More information about the ZODB-Dev mailing list