pytest-cov
pytest-cov copied to clipboard
Running tests in parallel leads to "coverage.misc.CoverageException: Couldn't read data from"
I am using python 3.7.1, pytest 4.6.3 and pytest-cov 2.8.1 and my .coveragerc file contains parallel set to true.
With the above configuration when i run tests in parallel It consistently fails with "coverage.misc.CoverageException: Couldn't read data from xyz data file". I have seen many people reported this issue and i tried multiple solutions but no help.
No issues observed when i try to run these tests in serial manner.
Please someone help me.
Can you give us a link to your repo so that we can try your scenario?