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
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,8 @@ class SomeTestCase extends PHPUnit\Framework\TestCase
85
85
}
86
86
```
87
87
88
+
Setting `@slowThreshold` to `0` will disable threshold reports for that test.
89
+
88
90
## Disable slowness profiling using an environment variable
89
91
90
92
SpeedTrapListener profiles for slow tests when enabled in phpunit.xml. But using an environment variable named `PHPUNIT_SPEEDTRAP` can enable or disable the listener.
0 commit comments