Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Support omitting the test sources themselves from coverage. #8208
If tests are in the same packages as the libs they test then today we
This change optionally omits test files from tracing.
This change also:
These last two points are performance gains: Generating coverage reports
This code also updates our coverage plugin to reflect the fact that plugins
Finally, we replace a reference to the deprecated name
jsirois left a comment •
I'm definitely OK with treating prior behavior as a bug and flipping the default or killing the option outright. Someone may reasonably want coverage numbers over test code though to prove tests are run; ie: detect bad CI setups or too high a % of conditional test skips firing. As such, just flipping the default seems right to me.
Done - flipped the sense of the flag, so that people can do so if they really want to.