You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I noticed something strange when running PHPUnit in a new repository, I got reports that tests were risky because they executed methods that they in reality didn't, because of me using beStrictAboutCoversAnnotation.
When I ran it multiple times, it displayed different methods not being covered by @covers annotations as a result of PHPUnit triggering the tests that were reported risky first.
I think the issue might be with the clear method, but that's just a wild guess after looking at the PHPUnit coverage driver for PCOV.
A minimal repository recreating my issue can be found here.
The text was updated successfully, but these errors were encountered:
That's a really horrible bug ... thanks for the report ...
The notification for this was lost among a sea of emails, until 20 minutes ago (I just happened to notice this on github somehow) ... sorry about the delay ...
Hi, I noticed something strange when running PHPUnit in a new repository, I got reports that tests were risky because they executed methods that they in reality didn't, because of me using
beStrictAboutCoversAnnotation
.When I ran it multiple times, it displayed different methods not being covered by
@covers
annotations as a result of PHPUnit triggering the tests that were reported risky first.I think the issue might be with the
clear
method, but that's just a wild guess after looking at the PHPUnit coverage driver for PCOV.A minimal repository recreating my issue can be found here.
The text was updated successfully, but these errors were encountered: