View diff for a specific commit:
https://github.com/johnkary/phpunit-speedtrap/commit/XXX where XXX is the commit hash
View diff between two versions:
https://github.com/johnkary/phpunit-speedtrap/compare/v4.0.0...v5.0.0
Version 5.0 is the largest change since v1.0. It now uses PHPUnit's Extension and Hook systems, which have more restrictions on what an Extension is allowed to do.
Changes are required if you have extended SpeedTrapListener. See UPGRADE.md for upgrading your subclass to support 5.0.
- SpeedTrap now requires PHPUnit 8+ and PHP 7.2+,
- Moved namespace from
JohnKary\PHPUnit\Listener\SpeedTrapListener
toJohnKary\PHPUnit\Extension\SpeedTrap
phpunit.xml
requires registering using element instead of element. See README.- Removed option
stopOnSlow
because Extensions can no longer manipulate the Test Runner
- README documents working with Symfony Framework
simple-phpunit
- Changelog (
v3.3.0...v.4.0.0
) - PR #81 Reformat slow test case output for compatibility with PHPUnit --filter option
- PR #82 New option
stopOnSlow
stops execution upon first slow test. Default: false. - PR #84 New annotation option
@slowThreshold 0
disables checks for individual tests.
Version 3.3 adds supports for PHPUnit 9.5+, and a way to enable or disable the SpeedTrap listener using environment variables.
- PR #73 Compatibility with PHPUnit 9.5
- PR #66 Environment variable PHPUNIT_SPEEDTRAP="disabled" can disable profiling
Version 3.2 introduces supports for PHPUnit 9.0+. If your use of SpeedTrap depends on specific text output from SpeedTrap slowness report, see below wording changes that may require updating your implementation.
- PR #57 Wording change to slowness report in renderHeader()
Version 3.1 introduces support for PHPUnit 8.0+.
Version 3.0 introduces support for PHPUnit 7.0+ and PHP 7.1+.
Changes may be required if you have extended SpeedTrapListener. See UPGRADE.md for upgrading your subclass to support 3.0.
- PR #41 Make compatible with phpunit 7.x
Version 2.0 introduces support for PHPUnit 6.0+, PHP 7.0+ and PSR-4 autoloading.
Changes are required if you have extended SpeedTrapListener. See UPGRADE.md for upgrading your subclass to support 2.0.