-
-
Notifications
You must be signed in to change notification settings - Fork 376
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
Feature Request: Ignore @covers option #571
Comments
Just came up to the exact same need. |
I would like to have this option as well, to enable/disable the |
You can install tool Here's an example of usage in Github Actions: https://github.com/T-Regx/T-Regx/blob/master/.github/workflows/build.yaml#L70 |
I've written a script to match the changed lines in a I use I'll try #573 My script: BrianHenryIE/php-diff-test |
Although the use of
@covers
and@coversNothing
is really useful for generating good coverage reports, there are also times when we want to ignore those settings. For example, i may wish to see exactly what my integration tests are covering.My proposal would be to add a command line flag to phpunit, for example
--ignore-covers
or something like that. Which would cause@covers
and@coversNothing
to be ignored when calculating the code coverage.Slightly related to: infection/infection#88 (comment)
The text was updated successfully, but these errors were encountered: