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.
For a full diff see [2.8.0...2.9.0][2.8.0...2.9.0].
phpunit/phpunit:^7.5.0 ([#448]), by [@localheinz]For a full diff see [2.7.0...2.8.0][2.7.0...2.8.0].
phpunit/phpunit:^7.2.0 ([#447]), by [@localheinz]For a full diff see [2.6.0...2.7.0][2.6.0...2.7.0].
phpunit/phpunit:^8.5.19, phpunit/phpunit:^9.0.0, and phpunit/phpunit:^10.0.0 ([#396]), by [@localheinz]For a full diff see [2.5.0...2.6.0][2.5.0...2.6.0].
phpunit/phpunit:^8.5.36 ([#394]), by [@localheinz]For a full diff see [2.4.0...2.5.0][2.4.0...2.5.0].
Attribute\MaximumDuration to allow configuration of maximum duration with attributes on test method level ([#367]), by [@HypeMC]For a full diff see [2.3.2...2.4.0][2.3.2...2.4.0].
phpunit/phpunit:^9.6.0 ([#341]), by [@localheinz]Duration ([#351]), by [@localheinz]MaximumDuration into Duration ([#352]), by [@localheinz]MaximumCount to Count ([#353]), by [@localheinz]Time ([#354]), by [@localheinz]TestIdentifier ([#355]), by [@localheinz]phpunit/phpunit:^10.4.2 ([#357]), by [@localheinz]DefaultDurationFormatter as internal ([#350]), by [@localheinz]For a full diff see [2.3.1...2.3.2][2.3.1...2.3.2].
manifest.xml ([#343]), by [@localheinz]For a full diff see [2.3.0...2.3.1][2.3.0...2.3.1].
phpunit/phpunit in PHAR ([#342]), by [@localheinz]For a full diff see [2.2.0...2.3.0][2.2.0...2.3.0].
For a full diff see [2.23.0...2.24.0][2.23.0...2.24.0].
stderr option to allow directing the output of the slow test report to stderr on phpunit/phpunit:^6, phpunit/phpunit:^7, phpunit/phpunit:^8, and phpunit/phpunit:^9 ([#788]), by [@tstarling]For a full diff see [2.22.2...2.23.0][2.22.2...2.23.0].
For a full diff see [2.22.1...2.22.2][2.22.1...2.22.2].
.docker/ directory from archive exports via .gitattributes ([#765]), by [@localheinz]For a full diff see [2.22.0...2.22.1][2.22.0...2.22.1].
stderr when PHPUnit is configured with stderr="true" in phpunit.xml for phpunit/phpunit:^10.0.0, phpunit/phpunit:^11.0.0, phpunit/phpunit:^12.0.0, phpunit/phpunit:^13.0.0 ([#762]), by [@localheinz]For a full diff see [2.21.0...2.22.0][2.21.0...2.22.0].
For a full diff see [2.20.0...2.21.0][2.20.0...2.21.0].
phpunit/phpunit:^13.0.0 ([#757]), by [@localheinz][@maximumDuration](https://github.com/maximumDuration) annotation when a test case does not have any test methods ([#687]), by [@courtney-miles]CVE-2026-24765 security advisory in composer.json configuration because this package needs to support versions of phpunit/phpunit affected by this vulnerability ([#754]), by [@localheinz]For a full diff see [2.19.1...2.20.0][2.19.1...2.20.0].
For a full diff see [2.1.1...2.2.0][2.1.1...2.2.0].
phpunit/phpunit as a development dependency to allow usage with phpunit/phpunit when installed as PHAR ([#272]), by [@localheinz]For a full diff see [2.19.0...2.19.1][2.19.0...2.19.1].
[@maximumDuration](https://github.com/maximumDuration) annotation when using data providers ([#675]), by [@morgan-atproperties]For a full diff see [2.18.0...2.19.0][2.18.0...2.19.0].
phpunit/php-timer:^4.0.0, but always showing minutes ([#664]), by [@localheinz]For a full diff see [2.17.0...2.18.0][2.17.0...2.18.0].
phpunit/phpunit:^12.0.0 ([#651]), by [@localheinz]For a full diff see [2.16.1...2.17.0][2.16.1...2.17.0].
For a full diff see [2.16.0...2.16.1][2.16.0...2.16.1].
vendor/composer/installed.php and vendor/composer/InstalledVersions.php when building PHAR ([#621]), by [@dantleech]For a full diff see [2.15.1...2.16.0][2.15.1...2.16.0].
For a full diff see [2.15.0...2.15.1][2.15.0...2.15.1].
src/ directory when building PHAR ([#598]), by [@localheinz]For a full diff see [2.14.0...2.15.0][2.14.0...2.15.0].
For a full diff see [2.13.0...2.14.0][2.13.0...2.14.0].
phpunit/phpunit:^6.5.0 ([#533]), by [@localheinz]For a full diff see [2.12.0...2.13.0][2.12.0...2.13.0].
For a full diff see [2.11.0...2.12.0][2.11.0...2.12.0].
For a full diff see [2.10.0...2.11.0][2.10.0...2.11.0].
For a full diff see [2.9.0...2.10.0][2.9.0...2.10.0].
phpunit/phpunit:^11.0.0 ([#485]), by [@localheinz]phpunit-slow-test-detector.phar with phpunit/phpunit:^9.0.0 ([#491]), by [@localheinz]phpunit-slow-test-detector.phar with phpunit/phpunit:^8.5.19 ([#494]), by [@localheinz]phpunit-slow-test-detector.phar with phpunit/phpunit:^7.5.0 ([#495]), by [@localheinz]For a full diff see [2.1.0...2.1.1][2.1.0...2.1.1].
phpunit with the --no-output option ([#243]), by [@localheinz]For a full diff see [2.0.0...2.1.0][2.0.0...2.1.0].
For a full diff see [1.0.0...2.0.0][1.0.0...2.0.0].
maximum-duration parameter ([#212]), by [@localheinz]maximum-count parameter ([#217]), by [@localheinz]phpunit/php-timer ([#220]), by [@localheinz][@maximumDuration](https://github.com/maximumDuration) annotation ([#222]), by [@localheinz]MAXIMUM_NUMBER environment variable ([#211]), by [@localheinz]3 to 10 and default maximum duration from 125 to 500 milliseconds ([#218]), by [@localheinz][@slowThreshold](https://github.com/slowThreshold) annotation ([#221]), by [@localheinz]For a full diff see 7afa59c...1.0.0.
SlowTest (#6), by [@localheinz]SlowTestCollector (#8), by [@localheinz]Subscriber\TestPreparedSubscriber (#12), by [@localheinz]Subscriber\TestPassedSubscriber (#13), by [@localheinz]Formatter\ToMillisecondsDurationFormatter (#17), by [@localheinz]Comparator\DurationComparator (#18), by [@localheinz]SlowTestReporter (#19), by [@localheinz]TimeKeeper (#22), by [@localheinz]Collector (#23), by [@localheinz]Subscriber\TestSuiteFinishedSubscriber (#34), by [@localheinz]MaximumDuration (#46), by [@localheinz]MaximumCount (#47), by [@localheinz][@slowThreshold](https://github.com/slowThreshold) annotation (#49), by [@localheinz]SlowTestReporter to Reporter\Reporter (#20), by [@localheinz]Reporter\Reporter to Reporter\DefaultReporter and extracted Reporter\Reporter interface (#21), by [@localheinz]Collector to Collector\DefaultCollector and extracted Collector\Collector interface (#24), by [@localheinz]TimeKeeper instead of SlowTestCollector in Subscriber\TestPreparedSubscriber (#25), by [@localheinz]TimeKeeper and Collector\Collector instead of SlowTestCollector in Subscriber\TestPassedSubscriber (#26), by [@localheinz]SlowTest (#37), by [@localheinz]DefaultReporter (#38), by [@localheinz]SlowTestCollector (#36), by [@localheinz][@courtney-miles]: https://github.com/courtney-miles [@dantleech]: https://github.com/dantleech [@HypeMC]: https://github.com/HypeMC [@localheinz]: https://github.com/localheinz [@morgan-atproperties]: https://github.com/morgan-atproperties [@mvorisek]: https://github.com/mvorisek [@tstarling]: https://github.com/tstarling
How can I help you explore Laravel packages today?