Uncovered files from dirs without init.py are not reported · Issue #88 · pytest-dev/pytest-cov (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Description
It seems like files that are not imported/used are not reported as having 0% coverage.
It would be useful if all the files of the project would be in the coverage report - having a percentage of 0% in case they were not imported/used.
I could imagine that pytest-cov would have to hook into py.test's collection process for this, and then somehow make coverage aware of them - even if they are not imported during tests?!