ergebnis/phpunit-slow-test-detector
Detect slow PHPUnit tests with an extension delivered as a Composer package or PHAR. Configure a global maximum duration and get a report of tests exceeding the threshold after each run—ideal for catching performance regressions in your suite.
Adopt if:
Look Elsewhere if:
"This package is a low-effort, high-impact way to fix a hidden CI/CD bottleneck. Slow tests silently inflate our build times, delaying feedback for developers and increasing operational costs. By automatically flagging tests that exceed our performance thresholds (e.g., 500ms), we can cut CI runtime by 20–30% and reallocate engineering time to higher-value work. It’s like a ‘linter for test speed’—no code changes required, just plug-and-play."
Ask:
*"This is a zero-configuration way to enforce test performance standards. It integrates directly into PHPUnit and surfaces slow tests in your existing workflow—no new tools or dashboards needed. Key benefits:
Implementation:
composer require --dev ergebnis/phpunit-slow-test-detector.phpunit.xml (e.g., maximum-duration="500").Trade-offs:
Ask:
How can I help you explore Laravel packages today?