Open lexicalunit opened 4 years ago
Well I can't access that repository. Maybe it's private?
Regardless, please see the examples here: https://github.com/pytest-dev/pytest-cov/tree/master/examples
Sorry, I deleted the fork and am now just a collaborator on the source now. We've also moved away from requirements.txt
and use poetry
as well. Not sure why pytest-cov
never worked for me, hopefully all the clues are in the description and there was nothing relevant lost when I deleted the fork.
Summary
When I run
coverage
directly I get a sensible report showing a coverage of my module at 83%:However when I use
pytest-cov
withtox
I get pure madness:Problems:
source
directive in the configuration file.I also tried using
--cov=turbot
and just--cov
and those fail in a totally different way. It finishes instantly and also says no coverage:Expected vs actual result
I expect to see the same results as when I run
coverage
directly.Reproducer
Versions
Config
tox.ini
Code
All code pushed to my
coverage
branch at https://github.com/lexicalunit/turbot/tree/coverage