johnkary / phpunit-speedtrap

Reports on slow-running tests in your PHPUnit test suite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prints out stats mixed with testdox output

Neppord opened this issue · comments

When running phpunit with --testdox then it is posible to get a output which mixes speedtraps output with the dox.

<lots of tests above>
Name/Space/Here

You should really fix these slow tests (>500ms)...
 1. 5610ms to run <cut>
 2. 3332ms to run <cut>
 3. 3260ms to run <cut>
 4. 3059ms to run <cut>
 5. 2826ms to run <cut>
 6. 1473ms to run <cut>
 7. 1416ms to run <cut>
 8. 969ms to run <cut>
 9. 948ms to run <cut>
 10. 947ms to run <cut>
...and there are 29 more above your threshold hidden from view [x] Prefix
 [x] Is utf 8

All tests seem to have passed successfully!