[TIP] Coverage.py, 3.4 beta

Ned Batchelder ned at nedbatchelder.com
Wed Sep 8 18:56:31 PDT 2010


  I've posted a beta of coverage.py v3.4: 
http://pypi.python.org/pypi/coverage/3.4b2

Blog posts about the new stuff: 
http://nedbatchelder.com/blog/201009/coveragepy_v34_beta_2_uncovered_files.html 
and http://nedbatchelder.com/blog/201008/coveragepy_v34_beta_1.html.

The big change in this release is new ways to focus coverage.py's 
attention on your source code.  There's a new --source option to specify 
packages and directories containing your source.  Nothing outside these 
will be measured or reported.  And, at last, completely unexecuted files 
in those places will be reported as 0% covered.

Take it for a spin, let me know what you find.

--Ned.



More information about the testing-in-python mailing list