[TIP] Coverage.py 4.1b2: re-written branch measurement
carl at oddbird.net
Sat Jan 23 20:37:36 PST 2016
On 01/23/2016 06:08 PM, Ned Batchelder wrote:
> I've just release Coverage.py 4.1b2:
Thanks for all the work that went into this release!
Just tried it on one (~27k sloc) project, and it didn't report any new
uncovered branches. Of course I don't know off-hand whether that's
because I don't have any of the branch cases it newly understands, or I
do but they were already covered.
Interestingly, it does break the output filtering in my pytest-smartcov
plugin (which outputs a terminal report at the end of every test run,
filtered so I see only files with less than 100% coverage) because it
now writes the newline at the end of each line in a separate `.write()`
call. But I can adjust the plugin to account for that easily enough.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: OpenPGP digital signature
More information about the testing-in-python