Releases: sebastianbergmann/phpunit
Releases · sebastianbergmann/phpunit
PHPUnit 12.0.7
Fixed
- #5976: TestDox result printer does not display details about errors triggered in before-first-test and after-last-test methods
PHPUnit 11.5.12
Fixed
- #5976: TestDox result printer does not display details about errors triggered in before-first-test and after-last-test methods
PHPUnit 12.0.6
Fixed
- #6142:
$expected
and$actual
are mixed up in failure description whenassertJsonFileEqualsJsonFile()
fails
PHPUnit 11.5.11
Fixed
- #6142:
$expected
and$actual
are mixed up in failure description whenassertJsonFileEqualsJsonFile()
fails
PHPUnit 12.0.5
Fixed
- #6138: Test with failed expectation on value passed to mocked method is incorrectly considered risky
PHPUnit 11.5.10
Fixed
- #6138: Test with failed expectation on value passed to mocked method is incorrectly considered risky
PHPUnit 12.0.4
PHPUnit 11.5.9
PHPUnit 12.0.3
Changed
TestCase::__construct()
is now declaredfinal
(it was annotated with@final
before and the announced changed from@final
tofinal
for PHPUnit 12 was forgotten)
Fixed
- #5951: Restore the
includeUncoveredFiles
configuration option - #6133: Precision loss in aggregated test suite execution time(s) reported by JUnit XML logger
- A
Test\PreparationFailed
event is now emitted in addition to aTest\Errored
event when an unexpected exception is triggered in a before-test method - A
Test\Passed
event is no longer emitted in addition to aTest\Failed
orTest\Errored
event when an assertion failure or an unexpected exception is triggered in an after-test method - A
TestSuite\Finished
event is now emitted when a before-first-test method errors
PHPUnit 11.5.8
Fixed
- A
Test\PreparationFailed
event is now emitted in addition to aTest\Errored
event when an unexpected exception is triggered in a before-test method - A
Test\Passed
event is no longer emitted in addition to aTest\Failed
orTest\Errored
event when an assertion failure or an unexpected exception is triggered in an after-test method - A
TestSuite\Finished
event is now emitted when a before-first-test method errors