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
The PyPI link still leads to 3.5b1 release. Anyway, yay! :)
Oops, it's always something. Thanks, fixed!
Any plans to support conditional coverage?
Like instrumental: http://lautaportti.wordpress.com/2011/05/07/test-coverage-analysis/
@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.
Great work - as usual, cheers Ned!
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: