[TIP] Coverage.py 4.0

Ned Batchelder ned at nedbatchelder.com
Sun Sep 20 14:47:28 PDT 2015


(http://nedbatchelder.com/blog/201509/coveragepy_40.html)

After more than 20 months, coverage.py 4.0 
<https://pypi.python.org/pypi/coverage> is available. This version 
brings a number of significant changes:

  * Plugin support for measuring non-Python files, such as Django
    templates <https://pypi.python.org/pypi/django_coverage_plugin>.
  * Support for concurrency libraries such as gevent, greenlet, and
    eventlet.
  * Live filtering in the HTML report.
  * More than 50 issues closed, including improved branch coverage.
  * Documentation is now on Read The Docs <http://coverage.readthedocs.org>.

The full changes are in the docs 
<http://coverage.readthedocs.org/en/latest/changes.html>.

A number of things internal to coverage.py have changed in incompatible 
ways. Helper tools sometimes build on internal interfaces. If you find 
that coverage.py 4.0 seems broken in some way, please update to the 
latest versions of your helper libraries while diagnosing the problem.

If you have any problems, please let me know.

Next up for coverage.py: some form of the often requested feature, "show 
who tests what 
<https://bitbucket.org/ned/coveragepy/issues/170/show-who-tests-what>". 
If you are interested in that, get in touch, or comment on the issue.

Enjoy!

--Ned.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20150920/82015305/attachment.htm>


More information about the testing-in-python mailing list