Skip to content

Commit 8c77c58

Browse files
committed
Title typo to match use case below and clarify new use cases
1 parent 591a7a5 commit 8c77c58

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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
127127
Step 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+
154156
Step 1) Setup phpunit.xml to enable SpeedTrapListener, but disable slowness profiling by setting `PHPUNIT_SPEEDTRAP="disabled"` like this:
155157

156158
```xml

0 commit comments

Comments
 (0)