You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
I think I've seen this as well. I'm writing a custom plugin where the coverage is very misleading since some of the plugin code's module gets loaded so the definitions are not covered. I can't seem to find a way to exclude those or make the test cover them.
I'm using:
and
and it appears coverage is getting started after some of the modules have been imported.
Running
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?
The text was updated successfully, but these errors were encountered: