[TIP] Coverage.py 4.1b2: re-written branch measurement

Carl Meyer carl at oddbird.net
Sat Jan 23 20:37:36 PST 2016


Hi Ned,

On 01/23/2016 06:08 PM, Ned Batchelder wrote:
> I've just release Coverage.py 4.1b2:
> https://pypi.python.org/pypi/coverage/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.

Carl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20160123/db92ca42/attachment.pgp>


More information about the testing-in-python mailing list