ANN: z3c.coverage 1.2.0
Marius Gedminas <[email protected]>
| Newsgroups | gmane.comp.web.zope.devel |
|---|---|
| Message-ID | <20100211112016.GA5195@platonas> |
Heads up: I've just released z3c.coverage which renames the *.cover -> HTML conversion script from bin/coverage to bin/coveragereport, to avoid name clashes with Ned Batchelder's coverage. Your buildout/buildbot config files and/or makefiles may need updating. There are two ways to measure your test coverage and produce HTML reports: first, use zope.testing's builtin trace.py support and z3c.coverage bin/test --coverage=dirname ... bin/coveragereport parts/test/dirname outdir The second way is to use http://pypi.python.org/pypi/coverage, which is *much* faster but isn't as reliable (I've seen results that are physically impossible, but haven't narrowed down the bug yet) bin/coverage run bin/test ... bin/coverage html -d outdir Also, I'm not aware of a replacement for bin/coveragediff that supports coverage.py, but a 4x speed increase is maybe worth a few bugs and setbacks. Marius Gedminas -- http://pov.lt/ -- Zope 3 consulting and development _______________________________________________ Zope-Dev maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQFLc+fwkVdEXeem148RAtVnAKCKVGixq4LG9AX/X5wDm5rArrSUJQCeNqvE lyC+UL5m+ch6kGk14dyouS0= =A2An -----END PGP SIGNATURE-----