[TIP] condition coverage?
dstromberglists at gmail.com
Tue May 31 16:09:59 PDT 2016
On Tue, May 31, 2016 at 3:18 PM, Dan Stromberg <dstromberglists at gmail.com>
> On Tue, May 31, 2016 at 2:28 PM, Ned Batchelder <ned at nedbatchelder.com>
>> Dan, the XML file uses the Cobertura file format, which used the word
>> "condition-coverage". The data in the XML report is the same as in the
>> other reports, just presented differently.
> Please allow me to restate this in my own words, to make sure I've got it
> (I'm sure I'll be asked):
> The coverage.xml that coverage.py outputs, uses the wording
> "condition-coverage" only because it's required of a well-formed cobertura
> For what it's worth:
xmllint --noout --dtdvalid
...complains about the many "No declaration for attribute missing-branches
of element line", but doesn't appear to care about a missing
But there could easily be software out there that still requires the
condition-coverage - a DTD isn't a perfect indicator across all tools.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the testing-in-python