[TIP] How do I get coverage on the test modules themselves?

Mcgregor, Cecil cmcgregor at paypal.com
Mon Sep 15 18:46:06 PDT 2014


I'm using coverage 3.7.1 with python 2.7.3 on Red Hat 4.1.2 linux

I've been attempting to get coverage on the test code themselves. So far coverage
seems to ignore these files.

It's not obvious from the documentation how I can do this.

How do I cover the test_*.py files as part of the coverage reports?

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


More information about the testing-in-python mailing list