Is your feature request related to a problem? Please describe.
Our Coverage action currently measures all files, including things like urls.py and the test files themselves. coverage.py has an ommit flag, which we could utilize to filter those files out. Jest also has a collectCoverageFrom flag, which behaves similarly.
Describe the solution you'd like
Use the above described flags to filter out test definitions and other such files that we do not want to include in coverage reports, because we know they will never be covered.
Describe alternatives you've considered
- Leave those files in
- This is problematic because we would then try to invent tests for the sake of having a higher coverage percentage, rather than have thoughtful, meaningful tests.
Reported By
SCC
Is your feature request related to a problem? Please describe.
Our Coverage action currently measures all files, including things like
urls.pyand the test files themselves.coverage.pyhas anommitflag, which we could utilize to filter those files out. Jest also has acollectCoverageFromflag, which behaves similarly.Describe the solution you'd like
Use the above described flags to filter out test definitions and other such files that we do not want to include in coverage reports, because we know they will never be covered.
Describe alternatives you've considered
Reported By
SCC