Coverage.py v3.5

Wednesday 29 June 2011This is more than 13 years old. Be careful.

Coverage.py v3.5 for realz is now available. 3.5 adds two long-requested features: convenient navigation in the HTML report to find flagged sections of code, and better control over partial branch warnings.

More details are in the beta blog post from a few weeks ago. Not much has changed since then, I only heard from one user of the beta, but that user was Guido. As a result, the HTML navigation works properly in more browsers, and behaves better when the current chunk is completely off the screen. Enjoy!

Comments

[gravatar]
The PyPI link still leads to 3.5b1 release. Anyway, yay! :)
[gravatar]
Oops, it's always something. Thanks, fixed!
[gravatar]
@Domen, no plans yet for condition coverage. It would require a big change to how coverage.py measures code, either by using an ast approach like instrumental uses, or a bytecode hack as in my Wicked hack: Python bytecode tracing.
[gravatar]
Great work - as usual, cheers Ned!
[gravatar]
Christian Heimes 4:19 AM on 30 Jun 2011
Thanks for your hard work and the new release, Ned!

I had tested coverage 3.5b1 for a while and found no new bugs. The issue with branch coverage of 'with' statements in Python 2.7 still persists, though. It's not a deal breaker for me, just a minor inconvenience.

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:
Comment text is Markdown.