-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Mark a test as risky that does not execute the code it wants to test #1899
Labels
type/enhancement
A new idea that should be implemented
Comments
sebastianbergmann
added
the
type/enhancement
A new idea that should be implemented
label
Oct 6, 2015
Related to sebastianbergmann/php-code-coverage#234 |
@sebastianbergmann Should this behaviour be added to the --strict-coverage flag? Or should tests always be marked as risky in this case? |
It should be added to the |
sebastianbergmann
added a commit
that referenced
this issue
Jan 12, 2016
sebastianbergmann
added a commit
that referenced
this issue
Jan 12, 2016
Reverted 580f715 until sebastianbergmann/php-code-coverage#420 is fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A test that has a
@covers c::m
annotation, for instance, should be marked as risky when thec::m()
method is not executed.The text was updated successfully, but these errors were encountered: