[TIP] condition coverage?

Dan Stromberg 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>
wrote:

>
> On Tue, May 31, 2016 at 2:28 PM, Ned Batchelder <ned at nedbatchelder.com>
> wrote:
>
>> 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
> report?
>
> For what it's worth:

 xmllint --noout --dtdvalid
http://cobertura.sourceforge.net/xml/coverage-03.dtd coverage.xml

...complains about the many "No declaration for attribute missing-branches
of element line", but doesn't appear to care about a missing
condition-coverage.

But there could easily be software out there that still requires the
condition-coverage - a DTD isn't a perfect indicator across all tools.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20160531/b1dadfd2/attachment.htm>


More information about the testing-in-python mailing list