Closed istrupin closed 2 years ago
@istrupin Thanks for submitting an issue! Could you try generating the coverage as follows, similar to how the example/python project does? https://github.com/ryanluker/vscode-coverage-gutters/tree/master/example/python
It might also be due to where you are generating the coverage from and where you load the folder from (you can also try the example project to confirm that works fine with your system).
Hey @ryanluker , sorry it took me so long to get back to this.
I gave this a shot, and it seems to be working correctly now. Perhaps a new update between when I filed this issue and now solved my problem?
@istrupin Thanks for getting back to me! Yeah the recent couple of releases could have fixed this 🤔 .
Describe the bug I am running PyTest with pytest-cov, and in certain situations, Coverage Gutters is not displaying the same coverage percentage or covered line numbers as my coverage report (both HTML and XML). Coverage Gutters seems to be showing less coverage than what the report shows.
To Reproduce Steps to reproduce the behaviour:
Expected behaviour I would expect the coverage statistics on my coverage reports to match Coverage Gutters
Screenshots
Coverage gutters shows no coverage past line 33:
Coverage gutters shows 64% coverage:
XML report shows 76% line coverage with coverage on lines past line 33:
HTML report showing the same lines having coverage:
Desktop (please complete the following information):