#[CoversMethod]
attribute is not considered for risky test check
#5807
Labels
feature/code-coverage
Issues related to code coverage (but not php-code-coverage)
feature/metadata/attributes
type/bug
Something is broken
version/11
Something affects PHPUnit 11
Summary
When i use
CoversMethod
attribute, PHPUnit do not understand it is a coverage attribute.If i replace
CoversMethod
byCoversNothing
orCoversClass
, coverage error disapear.Current behavior
CoversMethod do not configure the code coverage.
How to reproduce
Result:
Expected behavior
Code coverage should be configured with this attribute, right?
The text was updated successfully, but these errors were encountered: