[TIP] py.test coverage without erasing coverage data on previous runs?

Randy Syring randy at thesyrings.us
Mon Mar 23 13:24:20 PDT 2015


 > The data file is erased at the beginning of testing to ensure clean 
data for each test run.

from: https://pypi.python.org/pypi/pytest-cov

However, I'd like to accumulate coverage over multiple calls in my 
tox.ini so that I can get a coverage number that is reflective of all 
python versions I'm testing against.  Can I get pytest-cov to not erase 
the coverage?

*Randy Syring*
Husband | Father | Redeemed Sinner

/"For what does it profit a man to gain the whole world
and forfeit his soul?" (Mark 8:36 ESV)/

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


More information about the testing-in-python mailing list