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
In "test finished" hook TestCase->status()->isFailure() && TestCase->status()->isError() can be used to filter out non-passing tests, but probably even non-passing tests can/should be reported if slow.
The text was updated successfully, but these errors were encountered:
Currently the measured time does not include test teardown.
The solution is to drop
https://github.com/ergebnis/phpunit-slow-test-detector/blob/2.4.0/src/Subscriber/TestPassedSubscriber.php
as it is called in
https://github.com/sebastianbergmann/phpunit/blob/10.4.2/src/Framework/TestCase.php#L723
and use
https://github.com/sebastianbergmann/phpunit/blob/10.4.2/src/Framework/TestRunner.php#L238
"test finished" hook solely instead.
In "test finished" hook
TestCase->status()->isFailure() && TestCase->status()->isError()
can be used to filter out non-passing tests, but probably even non-passing tests can/should be reported if slow.The text was updated successfully, but these errors were encountered: