File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ Step 3) View the Travis CI build output and read the slowness report printed in
122122
123123[Travis CI Documentation - Environment Variables](https://docs.travis-ci.com/user/environment-variables)
124124
125- #### Use case: Enable profiling in development, but enable with Travis CI
125+ #### Use case: Enable profiling in development, but disable with Travis CI
126126
127127Step 1) Enable SpeedTrapListener in phpunit.xml. The slowness report will output during all test suite executions.
128128
@@ -151,6 +151,8 @@ Step 3) View the Travis CI build output and confirm the slowness report is not p
151151
152152#### Use case: Only enable SpeedTrapListener on demand via command-line
153153
154+ Useful when you only want to profile slow tests once in a while.
155+
154156Step 1) Setup phpunit.xml to enable SpeedTrapListener, but disable slowness profiling by setting ` PHPUNIT_SPEEDTRAP="disabled"` like this:
155157
156158` ` ` xml
You can’t perform that action at this time.
0 commit comments