Open
Description
I'm using:
pytest -n 8 -xv --cov --cov-config ./.coveragerc --cov-report html --cov-append -s
and
pytest -n 1 -xv --cov --cov-config ./.coveragerc --cov-report html --cov-append -s
and it appears coverage is getting started after some of the modules have been imported.
Running
coverage run `which pytest`
solves this problem, but it seems like the pytest-cov plugin shouldn't need this.
The bizarre part is that it doesn't affect all of the files, some of my files do have 100% coverage, but there are quite a few files where the def is not covered but the body is which is telling me something is happening in the wrong order.
I really want to use py-cov because I can run with -n 8
Any ideas?
Metadata
Metadata
Assignees
Labels
No labels