ergebnis/phpunit-slow-test-detector
PHPUnit extension (Composer package and PHAR) that detects and reports slow tests during test runs. Configure a global maximum duration; when tests exceed it, the extension lists them with timings to help you spot and fix performance regressions.
Adopt when:
Look elsewhere if:
For Executives: "This package automatically flags slow PHPUnit tests, cutting CI/CD wait times and improving team productivity. For example, if a test takes 2x longer than the average, it’s surfaced immediately—saving hours weekly in debugging and optimization. It’s a no-code solution with minimal overhead, directly supporting our [performance/velocity] goals."
For Engineering Leaders:
*"The phpunit-slow-test-detector integrates seamlessly into existing workflows with a single config change. It:
For Developers:
"Tired of waiting for slow tests to run locally? This tool adds a one-line config to your phpunit.xml and highlights slow tests in your terminal output. No more guessing—just actionable data to optimize your test suite. Example output shows durations per test, so you can prioritize fixes."
How can I help you explore Laravel packages today?