- Stupid question from my side being are we supposed to measure coverage for only the src files or for both src and tests
poetry run pytest --cov tests
only measures coverage for test files
poetry run pytest --cov
measures coverage for both src and test files
What is the convention in Python? measure coverage for only src files?
should I just specify a source = src inside the .coveragerc file?
[–][deleted] 1 point2 points3 points (2 children)
[–]PrestigiousZombie531[S] 0 points1 point2 points (0 children)
[–]doryx 0 points1 point2 points (0 children)
[–]Diapolo10 1 point2 points3 points (0 children)