Code coverage randomly drops when it includes folders that had no tests before #672
Labels
area/testing
Related to any test or testing suite
ci/build
This is issue is about the build or CI system, and the administration of it.
code quality
Related to improving code quality
Milestone
We have now noticed a few times where the code coverage drops unexpectedly due to a certain package not being tracked previously due to it not having any tests, now when you introduce new tests to a package, the coverage starts taking that entire package into account resulting in a drop in test coverage despite having added more tests.
Solution, find a way to always include all packages into code coverage (minus any we explicitly tell code cov to ignore)even if they have no tests.
Perhaps by adding
-coverpkg
flag.The text was updated successfully, but these errors were encountered: