py.test and test coverage analysis ?

j vickroy jim.vickroy at noaa.gov
Wed Apr 2 13:23:39 EDT 2008


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.

Thanks,
-- jv



More information about the Python-list mailing list