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

Carl Meyer carl at oddbird.net
Sun Jan 24 07:56:21 PST 2016


On 01/24/2016 07:14 AM, Ned Batchelder wrote:
> On 1/23/16 11:37 PM, Carl Meyer wrote:
>> 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.
> 
> You might also like the --skip-covered switch that is new in 4.0 :)

I might! Very nice.

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/20160124/484b1768/attachment.pgp>


More information about the testing-in-python mailing list