All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
For a full diff see 2.24.0...main.
For a full diff see 2.23.0...2.24.0.
- Added a
stderroption to allow directing the output of the slow test report tostderronphpunit/phpunit:^6,phpunit/phpunit:^7,phpunit/phpunit:^8, andphpunit/phpunit:^9(#788), by @tstarling
For a full diff see 2.22.2...2.23.0.
- Added table headers to slow test report output (#768), by @localheinz
- Rendered slow test report with a duration format legend (#773), by @localheinz
For a full diff see 2.22.1...2.22.2.
- Excluded
.docker/directory from archive exports via.gitattributes(#765), by @localheinz
For a full diff see 2.22.0...2.22.1.
- Started sending output to
stderrwhen PHPUnit is configured withstderr="true"inphpunit.xmlforphpunit/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.
- Started reporting the global maximum duration only once in the header instead of repeating it on every line (#396), by @mvorisek
For a full diff see 2.20.0...2.21.0.
- Added support for
phpunit/phpunit:^13.0.0(#757), by @localheinz - Added support for PHP 8.5 (#713), by @localheinz
- Fixed discovery of
@maximumDurationannotation when a test case does not have any test methods ([#687]), by @courtney-miles
- Ignored
CVE-2026-24765security advisory incomposer.jsonconfiguration because this package needs to support versions ofphpunit/phpunitaffected by this vulnerability (#754), by @localheinz
For a full diff see 2.19.1...2.20.0.
- Allowed installation on PHP 8.5 (#704), by @localheinz
For a full diff see 2.19.0...2.19.1.
- Fixed discovery of
@maximumDurationannotation when using data providers ([#675]), by @morgan-atproperties
For a full diff see 2.18.0...2.19.0.
- Started formatting durations similar to
phpunit/php-timer:^4.0.0, but always showing minutes (#664), by @localheinz
For a full diff see 2.17.0...2.18.0.
- Added support for
phpunit/phpunit:^12.0.0(#651), by @localheinz
For a full diff see 2.16.1...2.17.0.
- Added support for PHP 8.4 (#635), by @localheinz
For a full diff see 2.16.0...2.16.1.
- Explicitly included
vendor/composer/installed.phpandvendor/composer/InstalledVersions.phpwhen building PHAR ([#621]), by @dantleech
For a full diff see 2.15.1...2.16.0.
- Allowed installation on PHP 8.4 (#604), by @localheinz
For a full diff see 2.15.0...2.15.1.
- Explicitly included
src/directory when building PHAR (#598), by @localheinz
For a full diff see 2.14.0...2.15.0.
For a full diff see 2.13.0...2.14.0.
- Added support for
phpunit/phpunit:^6.5.0(#533), by @localheinz - Added support for PHP 7.0 (#534), by @localheinz
For a full diff see 2.12.0...2.13.0.
- Added support for PHP 7.1 (#532), by @localheinz
For a full diff see 2.11.0...2.12.0.
- Added support for PHP 7.2 (#531), by @localheinz
For a full diff see 2.10.0...2.11.0.
- Added support for PHP 7.3 (#476), by @localheinz
For a full diff see 2.9.0...2.10.0.
- Added support for
phpunit/phpunit:^11.0.0(#485), by @localheinz - Added support for using
phpunit-slow-test-detector.pharwithphpunit/phpunit:^9.0.0(#491), by @localheinz - Added support for using
phpunit-slow-test-detector.pharwithphpunit/phpunit:^8.5.19(#494), by @localheinz - Added support for using
phpunit-slow-test-detector.pharwithphpunit/phpunit:^7.5.0(#495), by @localheinz
For a full diff see 2.8.0...2.9.0.
- Consistently included test setup and teardown in duration measurement ([#380]), by @localheinz and @mvorisek
- Required at least
phpunit/phpunit:^7.5.0(#448), by @localheinz
For a full diff see 2.7.0...2.8.0.
- Added support for
phpunit/phpunit:^7.2.0(#447), by @localheinz
For a full diff see 2.6.0...2.7.0.
- Widened version constraints to allow installation with
phpunit/phpunit:^8.5.19,phpunit/phpunit:^9.0.0, andphpunit/phpunit:^10.0.0(#396), by @localheinz
For a full diff see 2.5.0...2.6.0.
- Added support for
phpunit/phpunit:^8.5.36(#394), by @localheinz
For a full diff see 2.4.0...2.5.0.
- Added
Attribute\MaximumDurationto 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
- Improved detection of PHPUnit version (#393), by @localheinz and @mvorisek
For a full diff see 2.3.2...2.4.0.
- Added support for
phpunit/phpunit:^9.6.0(#341), by @localheinz
- Extracted
Duration(#351), by @localheinz - Merged
MaximumDurationintoDuration(#352), by @localheinz - Renamed
MaximumCounttoCount(#353), by @localheinz - Extracted
Time(#354), by @localheinz - Extracted
TestIdentifier(#355), by @localheinz - Required
phpunit/phpunit:^10.4.2(#357), by @localheinz
- Marked
DefaultDurationFormatteras internal (#350), by @localheinz
For a full diff see 2.3.1...2.3.2.
- Adjusted version in
manifest.xml(#343), by @localheinz
For a full diff see 2.3.0...2.3.1.
- Prevented inclusion of
phpunit/phpunitin PHAR (#342), by @localheinz
For a full diff see 2.2.0...2.3.0.
- Added support for installing extension as a PHAR (#273), by @localheinz
- Added support for PHP 8.3 (#340), by @localheinz
For a full diff see 2.1.1...2.2.0.
- Suggested and required
phpunit/phpunitas a development dependency to allow usage withphpunit/phpunitwhen installed as PHAR (#272), by @localheinz
For a full diff see 2.1.0...2.1.1.
- Stopped registering extension when running
phpunitwith the--no-outputoption (#243), by @localheinz
For a full diff see 2.0.0...2.1.0.
- Started rendering slow tests as ordered list (#224), by @localheinz
For a full diff see 1.0.0...2.0.0.
- Allowed configuring the maximum duration via
maximum-durationparameter (#212), by @localheinz - Allowed configuring the maximum count via
maximum-countparameter (#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
@maximumDurationannotation (#222), by @localheinz
- Removed possibility to configure maximum count of reported tests using the
MAXIMUM_NUMBERenvironment variable (#211), by @localheinz - Increased default maximum count from
3to10and default maximum duration from125to500milliseconds (#218), by @localheinz - Fixed resolving maximum duration from
@slowThresholdannotation (#221), by @localheinz
For a full diff see 7afa59c...1.0.0.
- Added
SlowTest(#6), by @localheinz - Added
SlowTestCollector(#8), by @localheinz - Added
Subscriber\TestPreparedSubscriber(#12), by @localheinz - Added
Subscriber\TestPassedSubscriber(#13), by @localheinz - Added
Formatter\ToMillisecondsDurationFormatter(#17), by @localheinz - Added
Comparator\DurationComparator(#18), by @localheinz - Added
SlowTestReporter(#19), by @localheinz - Extracted
TimeKeeper(#22), by @localheinz - Extracted
Collector(#23), by @localheinz - Added
Subscriber\TestSuiteFinishedSubscriber(#34), by @localheinz - Added
MaximumDuration(#46), by @localheinz - Added
MaximumCount(#47), by @localheinz - Allowed configuring the maximum duration for a test with a
@slowThresholdannotation (#49), by @localheinz
- Renamed
SlowTestReportertoReporter\Reporter(#20), by @localheinz - Renamed
Reporter\ReportertoReporter\DefaultReporterand extractedReporter\Reporterinterface (#21), by @localheinz - Renamed
CollectortoCollector\DefaultCollectorand extractedCollector\Collectorinterface (#24), by @localheinz - Used
TimeKeeperinstead ofSlowTestCollectorinSubscriber\TestPreparedSubscriber(#25), by @localheinz - Used
TimeKeeperandCollector\Collectorinstead ofSlowTestCollectorinSubscriber\TestPassedSubscriber(#26), by @localheinz - Composed maximum duration into
SlowTest(#37), by @localheinz - Rendered maximum duration in report created by
DefaultReporter(#38), by @localheinz
- Removed
SlowTestCollector(#36), by @localheinz