[TIP] condition coverage?

Florian Bruhin me at the-compiler.org
Tue May 31 09:41:18 PDT 2016


* Dan Stromberg <dstromberglists at gmail.com> [2016-05-31 09:17:33 -0700]:
> I'm looking for a way of getting a condition coverage report for python
> code.
> 
> We've been using coverage.py .
> 
> coverage.py appears to, at best, give branch coverage in its HTML report.
> However, it's beginning to look like coverage.py can give condition
> coverage (which is what we prefer). but only via its XML report.
> 
> Is that accurate?

I don't think so.

AFAIK there's a blogpost by Ned Batchelder about why he hasn't been
able to implement this, but I can't find it right now...

Florian

-- 
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20160531/613dad1c/attachment.pgp>


More information about the testing-in-python mailing list