Skip to content

Releases: sebastianbergmann/phpunit

PHPUnit 12.0.7

07 Mar 07:33
12.0.7
2845e49
Compare
Choose a tag to compare

Fixed

  • #5976: TestDox result printer does not display details about errors triggered in before-first-test and after-last-test methods

How to install or update PHPUnit

PHPUnit 11.5.12

07 Mar 07:31
11.5.12
d427858
Compare
Choose a tag to compare

Fixed

  • #5976: TestDox result printer does not display details about errors triggered in before-first-test and after-last-test methods

How to install or update PHPUnit

PHPUnit 12.0.6

05 Mar 07:40
12.0.6
a1c7e1e
Compare
Choose a tag to compare

Fixed

  • #6142: $expected and $actual are mixed up in failure description when assertJsonFileEqualsJsonFile() fails

How to install or update PHPUnit

PHPUnit 11.5.11

05 Mar 07:38
11.5.11
3946ac3
Compare
Choose a tag to compare

Fixed

  • #6142: $expected and $actual are mixed up in failure description when assertJsonFileEqualsJsonFile() fails

How to install or update PHPUnit

PHPUnit 12.0.5

25 Feb 06:17
12.0.5
0f177d7
Compare
Choose a tag to compare

Fixed

  • #6138: Test with failed expectation on value passed to mocked method is incorrectly considered risky

How to install or update PHPUnit

PHPUnit 11.5.10

25 Feb 06:16
11.5.10
d5df2b3
Compare
Choose a tag to compare

Fixed

  • #6138: Test with failed expectation on value passed to mocked method is incorrectly considered risky

How to install or update PHPUnit

PHPUnit 12.0.4

21 Feb 06:12
12.0.4
e469daf
Compare
Choose a tag to compare

Fixed

  • #6134: Missing event when child process ends unexpectedly

How to install or update PHPUnit

PHPUnit 11.5.9

21 Feb 06:10
11.5.9
c91c830
Compare
Choose a tag to compare

Fixed

  • #6134: Missing event when child process ends unexpectedly

How to install or update PHPUnit

PHPUnit 12.0.3

18 Feb 06:30
12.0.3
df170d6
Compare
Choose a tag to compare

Changed

  • TestCase::__construct() is now declared final (it was annotated with @final before and the announced changed from @final to final 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 a Test\Errored event when an unexpected exception is triggered in a before-test method
  • A Test\Passed event is no longer emitted in addition to a Test\Failed or Test\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

How to install or update PHPUnit

PHPUnit 11.5.8

18 Feb 06:28
11.5.8
c9bd61a
Compare
Choose a tag to compare

Fixed

  • A Test\PreparationFailed event is now emitted in addition to a Test\Errored event when an unexpected exception is triggered in a before-test method
  • A Test\Passed event is no longer emitted in addition to a Test\Failed or Test\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

How to install or update PHPUnit