PackageTrack
Sign in Get early access

ergebnis/phpunit-slow-test-detector

Provides facilities for detecting slow tests in phpunit/phpunit.

2.24.0 11M downloads/mo #723 most downloaded on Packagist ergebnis/phpunit-slow-test-detector

What this package is like to depend on

Last release 5 months ago

13 Mar 2026

Release timing varies

gaps range from 2 weeks to 6 months

Nearly every release is documented

notes for 34 of 34 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

34 releases · first in 2023

6 releases in the last 12 months

see the full history below

Release timeline

34 releases · Feb 2023 to Mar 2026
2024 2025 2026
Release Pre-release

Releases

latest 34
  1. 2.24.0 13 Mar 2026
    Release notes

    What's Changed

    • Fix: Rename DefaultReporter to ConsoleReporter by @localheinz in #774
    • Fix: Move and rename classes in preparation for implementing a GitHubReporter by @localheinz in #776
    • composer(deps-dev): bump ergebnis/php-cs-fixer-config from 6.60.0 to 6.60.1 by @dependabot[bot] in #778
    • github-actions(deps): bump actions/download-artifact from 7.0.0 to 8.0.0 by @dependabot[bot] in #781
    • github-actions(deps): bump actions/upload-artifact from 6.0.0 to 7.0.0 by @dependabot[bot] in #780
    • Fix: Move test fixtures by @localheinz in #779
    • Fix: Add tests for using using STDERR instead of STDOUT by @localheinz in #783
    • Fix: Remove DurationFormatter interface by @localheinz in #784
    • Fix: Revert moving test fixtures by @localheinz in #789
    • On PHPUnit 6-9, configure stderr separately by @tstarling in #788

    New Contributors

    Full Changelog: 2.23.0...2.24.0

    Open source →
    Release notes

    For a full diff see [2.23.0...2.24.0][2.23.0...2.24.0].

    Added

    • Added a 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]
    Open source →
  2. 2.23.0 22 Feb 2026
    Release notes

    What's Changed

    Full Changelog: 2.22.2...2.23.0

    Open source →
    Release notes

    For a full diff see [2.22.2...2.23.0][2.22.2...2.23.0].

    Changed

    • Added table headers to slow test report output ([#768]), by [@localheinz]
    • Rendered slow test report with a duration format legend ([#773]), by [@localheinz]
    Open source →
  3. 2.22.2 13 Feb 2026
    Release notes

    What's Changed

    • Fix: Exclude .docker/ directory from archive exports by @localheinz in #765

    Full Changelog: 2.22.1...2.22.2

    Open source →
    Release notes

    For a full diff see [2.22.1...2.22.2][2.22.1...2.22.2].

    Fixed

    • Excluded .docker/ directory from archive exports via .gitattributes ([#765]), by [@localheinz]
    Open source →
  4. 2.22.1 08 Feb 2026
    Release notes

    What's Changed

    • Fix: Rename directories and namespaces to avoid confusion by @localheinz in #763
    • Fix: Send output to STDERR or STDOUT depending on configuration by @localheinz in #762

    Full Changelog: 2.22.0...2.22.1

    Open source →
    Release notes

    For a full diff see [2.22.0...2.22.1][2.22.0...2.22.1].

    Fixed

    • Started sending output to 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]
    Open source →
  5. 2.22.0 07 Feb 2026
    Release notes

    What's Changed

    • Fix: Create release in draft mode, upload assets, and then publish release by @localheinz in #759
    • Fix: Stop using Nowdoc by @localheinz in #758
    • Fix: Run unit tests on PHP 7.4 with phpunit/phpunit:^7.5.0 only by @localheinz in #761
    • Fix: Pull printing of empty lines into DefaultReporter by @localheinz in #760
    • Report global maximum duration only once by @mvorisek in #396

    Full Changelog: 2.21.0...2.22.0

    Open source →
    Release notes

    For a full diff see [2.21.0...2.22.0][2.21.0...2.22.0].

    Changed

    • Started reporting the global maximum duration only once in the header instead of repeating it on every line ([#396]), by [@mvorisek]
    Open source →
  6. 2.21.0 07 Feb 2026
    Release notes

    What's Changed

    • Readme: visually separate phpunit version specific paragraphs by @staabm in #711
    • composer(deps-dev): Bump ergebnis/license from 2.6.0 to 2.7.0 by @dependabot[bot] in #715
    • github-actions(deps): Bump actions/github-script from 7.0.1 to 8.0.0 by @dependabot[bot] in #717
    • github-actions(deps): Bump shivammathur/setup-php from 2.35.3 to 2.36.0 by @dependabot[bot] in #733
    • github-actions(deps): Bump actions/upload-artifact from 4.6.2 to 6.0.0 by @dependabot[bot] in #736
    • github-actions(deps): Bump ergebnis/.github from 1.9.3 to 1.10.0 by @dependabot[bot] in #719
    • composer(deps-dev): Bump symfony/process from 5.4.47 to 5.4.51 by @dependabot[bot] in #749
    • Fix: Ignore CVE-2026-24765 by @localheinz in #754
    • github-actions(deps): Bump actions/download-artifact from 5.0.0 to 7.0.0 by @dependabot[bot] in #737
    • github-actions(deps): Bump codecov/codecov-action from 5.4.3 to 5.5.2 by @dependabot[bot] in #740
    • github-actions(deps): Bump stefanzweifel/git-auto-commit-action from 6.0.1 to 7.1.0 by @dependabot[bot] in #741
    • github-actions(deps): Bump actions/checkout from 4.2.2 to 6.0.2 by @dependabot[bot] in #747
    • github-actions(deps): Bump actions/cache from 4.2.4 to 5.0.3 by @dependabot[bot] in #752
    • composer(deps-dev): Bump ergebnis/php-cs-fixer-config from 6.52.0 to 6.59.0 by @dependabot[bot] in #750
    • composer(deps-dev): Bump ergebnis/composer-normalize from 2.47.0 to 2.49.0 by @dependabot[bot] in #751
    • Readme: re-order instruction from recent to old PHPUnit versions by @staabm in #722
    • Enhancement: Use Docker for running Makefile targets by @localheinz in #755
    • Fix: Account for different test identifier format on newer versions of phpunit/phpunit:^12.0.0 by @localheinz in #756
    • Enhancement: Add support for PHP 8.5 by @localheinz in #713
    • Enhancement: Add support for phpunit/phpunit:^13.0.0 by @localheinz in #757
    • Fix discovery of @maximumDuration annotation when test-cases have no test methods by @courtney-miles in #687

    New Contributors

    Full Changelog: 2.20.0...2.21.0

    Open source →
    Release notes

    For a full diff see [2.20.0...2.21.0][2.20.0...2.21.0].

    Added

    • Added support for phpunit/phpunit:^13.0.0 ([#757]), by [@localheinz]
    • Added support for PHP 8.5 ([#713]), by [@localheinz]

    Fixed

    • Fixed discovery of @maximumDuration annotation when a test case does not have any test methods ([#687]), by [@courtney-miles]

    Security

    • Ignored 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]
    Open source →
  7. 2.20.0 19 Aug 2025
    Release notes

    What's Changed

    • github-actions(deps): Bump shivammathur/setup-php from 2.32.0 to 2.33.0 by @dependabot[bot] in #680
    • composer(deps-dev): Bump ergebnis/composer-normalize from 2.46.0 to 2.47.0 by @dependabot[bot] in #682
    • github-actions(deps): Bump actions/download-artifact from 4.2.1 to 4.3.0 by @dependabot[bot] in #684
    • github-actions(deps): Bump codecov/codecov-action from 5.4.0 to 5.4.2 by @dependabot[bot] in #681
    • github-actions(deps): Bump stefanzweifel/git-auto-commit-action from 5.1.0 to 5.2.0 by @dependabot[bot] in #683
    • github-actions(deps): Bump codecov/codecov-action from 5.4.2 to 5.4.3 by @dependabot[bot] in #685
    • Fix: Focus on relevant output in end-to-end tests by @localheinz in #689
    • github-actions(deps): Bump shivammathur/setup-php from 2.33.0 to 2.34.1 by @dependabot[bot] in #690
    • github-actions(deps): Bump shivammathur/setup-php from 2.34.1 to 2.35.1 by @dependabot[bot] in #695
    • github-actions(deps): Bump stefanzweifel/git-auto-commit-action from 5.2.0 to 6.0.1 by @dependabot[bot] in #691
    • github-actions(deps): Bump shivammathur/setup-php from 2.35.1 to 2.35.3 by @dependabot[bot] in #699
    • github-actions(deps): Bump actions/download-artifact from 4.3.0 to 5.0.0 by @dependabot[bot] in #698
    • github-actions(deps): Bump actions/cache from 4.2.3 to 4.2.4 by @dependabot[bot] in #700
    • composer(deps-dev): Bump ergebnis/php-cs-fixer-config from 6.46.0 to 6.52.0 by @dependabot[bot] in #703
    • Enhancement: Allow installation on PHP 8.5 by @localheinz in #704

    Full Changelog: 2.19.1...2.20.0

    Open source →
    Release notes

    For a full diff see [2.19.1...2.20.0][2.19.1...2.20.0].

    Changed

    • Allowed installation on PHP 8.5 ([#704]), by [@localheinz]
    Open source →
  8. 2.19.1 11 Apr 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 2.19.0...2.19.1

    Open source →
    Release notes

    For a full diff see [2.19.0...2.19.1][2.19.0...2.19.1].

    Fixed

    • Fixed discovery of @maximumDuration annotation when using data providers ([#675]), by [@morgan-atproperties]
    Open source →
  9. 2.19.0 23 Feb 2025
    Release notes

    What's Changed

    • Enhancement: Extract TestDuration and MaximumDuration by @localheinz in #662
    • Enhancement: Extract MaximumCount by @localheinz in #663
    • Enhancement: Extract SlowTestList by @localheinz in #658
    • Enhancement: Format durations similar to phpunit/php-timer, but always showing minutes by @localheinz in #664
    • Improve measurement details in README for phpunit 10+ by @mvorisek in #452

    Full Changelog: 2.18.0...2.19.0

    Open source →
    Release notes

    For a full diff see [2.18.0...2.19.0][2.18.0...2.19.0].

    Changed

    • Started formatting durations similar to phpunit/php-timer:^4.0.0, but always showing minutes ([#664]), by [@localheinz]
    Open source →
  10. 2.18.0 07 Feb 2025
    Release notes

    What's Changed

    • Fix: Do not attempt to remove psalm/plugin-phpunit and vimeo/psalm by @localheinz in #652
    • Fix: Adjust build matrix by @localheinz in #653
    • Fix: Run end-to-end and phar tests with phpunit/phpunit:8.5.40 by @localheinz in #655
    • Enhancement: Add support for phpunit/phpunit:^12.0.0 by @localheinz in #651

    Full Changelog: 2.17.0...2.18.0

    Open source →
    Release notes

    For a full diff see [2.17.0...2.18.0][2.17.0...2.18.0].

    Added

    • Added support for phpunit/phpunit:^12.0.0 ([#651]), by [@localheinz]
    Open source →
  11. 2.17.0 25 Nov 2024
    Release notes

    For a full diff see [2.16.1...2.17.0][2.16.1...2.17.0].

    Added

    • Added support for PHP 8.4 ([#635]), by [@localheinz]
    Open source →
  12. 2.16.1 25 Oct 2024
    Release notes

    For a full diff see [2.16.0...2.16.1][2.16.0...2.16.1].

    Fixed

    • Explicitly included vendor/composer/installed.php and vendor/composer/InstalledVersions.php when building PHAR ([#621]), by [@dantleech]
    Open source →
  13. 2.16.0 27 Sep 2024
    Release notes

    For a full diff see [2.15.1...2.16.0][2.15.1...2.16.0].

    Changed

    • Allowed installation on PHP 8.4 ([#604]), by [@localheinz]
    Open source →
  14. 2.15.1 05 Sep 2024
    Release notes

    For a full diff see [2.15.0...2.15.1][2.15.0...2.15.1].

    Fixed

    • Explicitly included src/ directory when building PHAR ([#598]), by [@localheinz]
    Open source →
  15. 2.15.0 16 Jun 2024
    Release notes

    For a full diff see [2.14.0...2.15.0][2.14.0...2.15.0].

    Changed

    • Started showing data provider details in list of slow tests ([#559]), by [@mvorisek]
    Open source →
  16. 2.14.0 08 Apr 2024
    Release notes

    For a full diff see [2.13.0...2.14.0][2.13.0...2.14.0].

    Changed

    • Added support for phpunit/phpunit:^6.5.0 ([#533]), by [@localheinz]
    • Added support for PHP 7.0 ([#534]), by [@localheinz]
    Open source →
  17. 2.13.0 07 Apr 2024
    Release notes

    For a full diff see [2.12.0...2.13.0][2.12.0...2.13.0].

    Changed

    • Added support for PHP 7.1 ([#532]), by [@localheinz]
    Open source →
  18. 2.12.0 07 Apr 2024
    Release notes

    For a full diff see [2.11.0...2.12.0][2.11.0...2.12.0].

    Changed

    • Added support for PHP 7.2 ([#531]), by [@localheinz]
    Open source →
  19. 2.11.0 07 Apr 2024
    Release notes

    For a full diff see [2.10.0...2.11.0][2.10.0...2.11.0].

    Changed

    • Added support for PHP 7.3 ([#476]), by [@localheinz]
    Open source →
  20. 2.10.0 05 Feb 2024
    Release notes

    For a full diff see [2.9.0...2.10.0][2.9.0...2.10.0].

    Changed

    • Added support for phpunit/phpunit:^11.0.0 ([#485]), by [@localheinz]
    • Added support for using phpunit-slow-test-detector.phar with phpunit/phpunit:^9.0.0 ([#491]), by [@localheinz]
    • Added support for using phpunit-slow-test-detector.phar with phpunit/phpunit:^8.5.19 ([#494]), by [@localheinz]
    • Added support for using phpunit-slow-test-detector.phar with phpunit/phpunit:^7.5.0 ([#495]), by [@localheinz]
    Open source →
  21. 2.9.0 23 Dec 2023
    Release notes

    For a full diff see [2.8.0...2.9.0][2.8.0...2.9.0].

    Changed

    • Consistently included test setup and teardown in duration measurement ([#380]), by [@localheinz] and [@mvorisek]

    Fixed

    • Required at least phpunit/phpunit:^7.5.0 ([#448]), by [@localheinz]
    Open source →
  22. 2.8.0 21 Dec 2023
    Release notes

    For a full diff see [2.7.0...2.8.0][2.7.0...2.8.0].

    Added

    • Added support for phpunit/phpunit:^7.2.0 ([#447]), by [@localheinz]
    Open source →
  23. 2.7.0 03 Dec 2023
    Release notes

    For a full diff see [2.6.0...2.7.0][2.6.0...2.7.0].

    Changed

    • Widened version constraints to allow installation with phpunit/phpunit:^8.5.19, phpunit/phpunit:^9.0.0, and phpunit/phpunit:^10.0.0 ([#396]), by [@localheinz]
    Open source →
  24. 2.6.0 03 Dec 2023
    Release notes

    For a full diff see [2.5.0...2.6.0][2.5.0...2.6.0].

    Added

    • Added support for phpunit/phpunit:^8.5.36 ([#394]), by [@localheinz]
    Open source →
  25. 2.5.0 03 Dec 2023
    Release notes

    For a full diff see [2.4.0...2.5.0][2.4.0...2.5.0].

    Added

    • Added Attribute\MaximumDuration to allow configuration of maximum duration with attributes on test method level ([#367]), by [@HypeMC]
    • Added support for PHP 8.0 ([#375]), by [@localheinz] and [@mvorisek]
    • Added support for PHP 7.4 ([#390]), by [@localheinz] and [@mvorisek]

    Changed

    • Improved detection of PHPUnit version ([#393]), by [@localheinz] and [@mvorisek]
    Open source →
  26. 2.4.0 07 Nov 2023
    Release notes

    For a full diff see [2.3.2...2.4.0][2.3.2...2.4.0].

    Added

    • Added support for phpunit/phpunit:^9.6.0 ([#341]), by [@localheinz]

    Changed

    • Extracted Duration ([#351]), by [@localheinz]
    • Merged MaximumDuration into Duration ([#352]), by [@localheinz]
    • Renamed MaximumCount to Count ([#353]), by [@localheinz]
    • Extracted Time ([#354]), by [@localheinz]
    • Extracted TestIdentifier ([#355]), by [@localheinz]
    • Required phpunit/phpunit:^10.4.2 ([#357]), by [@localheinz]

    Fixed

    • Marked DefaultDurationFormatter as internal ([#350]), by [@localheinz]
    Open source →
  27. 2.3.2 13 Oct 2023
    Release notes

    For a full diff see [2.3.1...2.3.2][2.3.1...2.3.2].

    Fixed

    • Adjusted version in manifest.xml ([#343]), by [@localheinz]
    Open source →
  28. 2.3.1 13 Oct 2023
    Release notes

    For a full diff see [2.3.0...2.3.1][2.3.0...2.3.1].

    Fixed

    • Prevented inclusion of phpunit/phpunit in PHAR ([#342]), by [@localheinz]
    Open source →
  29. 2.3.0 30 May 2023
    Release notes

    For a full diff see [2.2.0...2.3.0][2.2.0...2.3.0].

    Changed

    • Added support for installing extension as a PHAR ([#273]), by [@localheinz]
    • Added support for PHP 8.3 ([#340]), by [@localheinz]
    Open source →
  30. 2.2.0 26 May 2023
    Release notes

    For a full diff see [2.1.1...2.2.0][2.1.1...2.2.0].

    Changed

    • Suggested and required phpunit/phpunit as a development dependency to allow usage with phpunit/phpunit when installed as PHAR ([#272]), by [@localheinz]
    Open source →
  31. 2.1.1 18 Mar 2023
    Release notes

    For a full diff see [2.1.0...2.1.1][2.1.0...2.1.1].

    Fixed

    • Stopped registering extension when running phpunit with the --no-output option ([#243]), by [@localheinz]
    Open source →
  32. 2.1.0 12 Feb 2023
    Release notes

    For a full diff see [2.0.0...2.1.0][2.0.0...2.1.0].

    Changed

    • Started rendering slow tests as ordered list ([#224]), by [@localheinz]
    Open source →
  33. 2.0.0 11 Feb 2023
    Release notes

    For a full diff see [1.0.0...2.0.0][1.0.0...2.0.0].

    Changed

    • Allowed configuring the maximum duration via maximum-duration parameter ([#212]), by [@localheinz]
    • Allowed configuring the maximum count via maximum-count parameter ([#217]), by [@localheinz]
    • Marked classes and interfaces as internal ([#219]), by [@localheinz]
    • Brought duration formatting in line with phpunit/php-timer ([#220]), by [@localheinz]
    • Allowed configuring the maximum duration via @maximumDuration annotation ([#222]), by [@localheinz]

    Fixed

    • Removed possibility to configure maximum count of reported tests using the MAXIMUM_NUMBER environment variable ([#211]), by [@localheinz]
    • Increased default maximum count from 3 to 10 and default maximum duration from 125 to 500 milliseconds ([#218]), by [@localheinz]
    • Fixed resolving maximum duration from @slowThreshold annotation ([#221]), by [@localheinz]
    Open source →
  34. 1.0.0 03 Feb 2023
    Release notes

    For a full diff see 7afa59c...1.0.0.

    Added

    Changed

    • Renamed SlowTestReporter to Reporter\Reporter (#20), by @localheinz
    • Renamed Reporter\Reporter to Reporter\DefaultReporter and extracted Reporter\Reporter interface (#21), by @localheinz
    • Renamed Collector to Collector\DefaultCollector and extracted Collector\Collector interface (#24), by @localheinz
    • Used TimeKeeper instead of SlowTestCollector in Subscriber\TestPreparedSubscriber (#25), by @localheinz
    • Used TimeKeeper and Collector\Collector instead of SlowTestCollector in Subscriber\TestPassedSubscriber (#26), by @localheinz
    • Composed maximum duration into SlowTest (#37), by @localheinz
    • Rendered maximum duration in report created by DefaultReporter (#38), by @localheinz

    Removed

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive