-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Coverage Report contains test files #1058
Comments
Version 11.0.2
|
This was fixed in #1039, release date is pending. |
@yaycmyk Thank you :) |
I realize this is quite old at this point, but tracking coverage of test files isn't a bug, but rather a feature. It lets you indicate if a test is actually being executed. It seems with the changes made by this it would be quite complex to include tests in coverage at this point, as you'd likely not want the tests being part of the module paths. For example, in Python we use this to identify tests which may not have been executed due to e.g. a duplicate name or an invalid name. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I'm trying to implement code coverage to my project. Unfortunately i have a problem: I see all test files on my code coverage report and I end up with incorrect code coverage rate.
I don't want to use
collectCoverageOnlyFrom
, because it requires to specify all files one by oneDo you know how to resolve that issue?
VERSION: 12.1.0
The text was updated successfully, but these errors were encountered: