py.test and test coverage analysis ?

John J. Lee jjl at pobox.com
Sun Apr 6 15:14:53 CEST 2008


j vickroy <jim.vickroy at noaa.gov> writes:

> Hello all,
>
> I am using py.test (http://codespeak.net/py/dist/test.html) to perform
> unit testing.  I would like to include test coverage analysis using
> coverage.py (http://nedbatchelder.com/code/modules/coverage.html), but
> I do not know how to simultaneously apply the two tools in a single
> run.
>
> Could someone offer a suggestion on how to combine coverage analysis
> with py.test.

http://darcs.idyll.org/~t/projects/figleaf/doc/


Run:

figleaf py.test


John



More information about the Python-list mailing list