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.17.0...main
.
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.php
andvendor/composer/InstalledVersions.php
when 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.phar
withphpunit/phpunit:^9.0.0
(#491), by @localheinz - Added support for using
phpunit-slow-test-detector.phar
withphpunit/phpunit:^8.5.19
(#494), by @localheinz - Added support for using
phpunit-slow-test-detector.phar
withphpunit/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\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
- 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
MaximumDuration
intoDuration
(#352), by @localheinz - Renamed
MaximumCount
toCount
(#353), by @localheinz - Extracted
Time
(#354), by @localheinz - Extracted
TestIdentifier
(#355), by @localheinz - Required
phpunit/phpunit:^10.4.2
(#357), by @localheinz
- Marked
DefaultDurationFormatter
as 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/phpunit
in 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/phpunit
as a development dependency to allow usage withphpunit/phpunit
when installed as PHAR (#272), by @localheinz
For a full diff see 2.1.0...2.1.1
.
- Stopped registering extension when running
phpunit
with the--no-output
option (#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-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
- Removed possibility to configure maximum count of reported tests using the
MAXIMUM_NUMBER
environment variable (#211), by @localheinz - Increased default maximum count from
3
to10
and default maximum duration from125
to500
milliseconds (#218), by @localheinz - Fixed resolving maximum duration from
@slowThreshold
annotation (#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
@slowThreshold
annotation (#49), by @localheinz
- Renamed
SlowTestReporter
toReporter\Reporter
(#20), by @localheinz - Renamed
Reporter\Reporter
toReporter\DefaultReporter
and extractedReporter\Reporter
interface (#21), by @localheinz - Renamed
Collector
toCollector\DefaultCollector
and extractedCollector\Collector
interface (#24), by @localheinz - Used
TimeKeeper
instead ofSlowTestCollector
inSubscriber\TestPreparedSubscriber
(#25), by @localheinz - Used
TimeKeeper
andCollector\Collector
instead ofSlowTestCollector
inSubscriber\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