[TIP] Coverage.py 4.1b2: re-written branch measurement
ned at nedbatchelder.com
Sun Jan 24 06:14:23 PST 2016
On 1/23/16 11:37 PM, Carl Meyer wrote:
> Hi Ned,
> 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.
You might also like the --skip-covered switch that is new in 4.0 :)
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the testing-in-python