Coverage.py 4.0

Sunday 20 September 2015

After more than 20 months, coverage.py 4.0 is available. This version brings a number of significant changes:

  • Plugin support for measuring non-Python files, such as Django templates.
  • 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.

The full changes are in the docs.

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“. If you are interested in that, get in touch, or comment on the issue.

Comments

[gravatar]
Eric Carmichael 1:17 AM on 21 Sep 2015

Thanks so much for sharing all this stuff Ned, you even helped me on IRC about coverage.py one time... the community and I appreciate you! :)

[gravatar]
Randle Taylor 1:17 PM on 21 Sep 2015

"Plugin support for measuring non-Python files, such as Django templates."

Woohoo! This is going to be so useful. Thanks a lot for all your hard work Ned.

[gravatar]
A. Jesse Jiryu Davis 5:38 PM on 21 Sep 2015

Ned, these look like amazing features; I'm particularly excited and impressed by greenlet support.

Add a comment:

Ignore this:
Leave this empty:
Name is required. Either email or web are required. Email won't be displayed and I won't spam you. Your web site won't be indexed by search engines.
Don't put anything here:
Leave this empty:
URLs auto-link and some tags are allowed: <a><b><i><p><br><pre>.