Skip to content

Releases: sebastianbergmann/phpunit

PHPUnit 11.3.2

03 Sep 12:01
11.3.2
8a4de85

Choose a tag to compare

Changed

  • #5931: name property on <testsuites> element in JUnit XML logfile
  • Removed .phpstorm.meta.php file as methods such as TestCase::createStub() use generics / template types for their return types and PhpStorm, for example, uses that information

Fixed

  • #5884: TestDox printer does not consider that issues can be suppressed by attribute, baseline, source location, or @ operator

How to install or update PHPUnit

PHPUnit 10.5.31

03 Sep 11:59
10.5.31
43e7c3e

Choose a tag to compare

Changed

  • #5931: name property on <testsuites> element in JUnit XML logfile
  • Removed .phpstorm.meta.php file as methods such as TestCase::createStub() use generics / template types for their return types and PhpStorm, for example, uses that information

Fixed

  • #5884: TestDox printer does not consider that issues can be suppressed by attribute, baseline, source location, or @ operator

How to install or update PHPUnit

PHPUnit 11.3.1

13 Aug 06:15
11.3.1
fe17987

Choose a tag to compare

Changed

  • Improved how objects are handled for some assertion failure messages

How to install or update PHPUnit

PHPUnit 10.5.30

13 Aug 06:10
10.5.30
b15524f

Choose a tag to compare

Changed

  • Improved error message when stubbed method is called more often than return values were configured for it

How to install or update PHPUnit

PHPUnit 11.3.0

02 Aug 03:58
11.3.0
a8dce73

Choose a tag to compare

Added

  • #5869: shortenArraysForExportThreshold attribute on the <phpunit> element of the XML configuration file to limit the export of arrays to a specified number of elements (default: 0 / do not limit the export of arrays)
  • #5885: Optionally repeat TestDox output for non-successful tests after the regular TestDox output
  • #5890: Priority for hook methods
  • #5906: --extension CLI option to register a test runner extension

Changed

  • #5856: When the test runner is configured to fail on deprecations, notices, warnings, incomplete tests, or skipped tests then details for tests that triggered deprecations, notices, or warnings as well as tests that were marked as incomplete or skipped are always shown, respectively
  • #5869: The configuration file generated using --generate-configuration now limits the export of arrays to 10 elements in order to improve performance

How to install or update PHPUnit

PHPUnit 11.2.9

30 Jul 11:11
11.2.9
c197bba

Choose a tag to compare

Fixed

  • #5887: Issue baseline generator does not correctly handle ignoring suppressed issues
  • #5908: --list-tests and --list-tests-xml CLI options do not report error when data provider method throws exception

How to install or update PHPUnit

PHPUnit 10.5.29

30 Jul 11:08
10.5.29
8e9e808

Choose a tag to compare

Fixed

  • #5887: Issue baseline generator does not correctly handle ignoring suppressed issues
  • #5908: --list-tests and --list-tests-xml CLI options do not report error when data provider method throws exception

How to install or update PHPUnit

PHPUnit 11.2.8

18 Jul 14:58
11.2.8
a7a29e8

Choose a tag to compare

Fixed

  • #5898: Test\Passed event is not emitted for PHPT tests
  • --coverage-filter CLI option could not be used multiple times

How to install or update PHPUnit

PHPUnit 10.5.28

18 Jul 14:56
10.5.28
ff7fb85

Choose a tag to compare

Fixed

  • #5898: Test\Passed event is not emitted for PHPT tests
  • --coverage-filter CLI option could not be used multiple times

How to install or update PHPUnit

PHPUnit 11.2.7

10 Jul 13:48
11.2.7
15c7e69

Choose a tag to compare

Changed

  • Updated dependencies (so that users that install using Composer's --prefer-lowest CLI option also get recent versions)

Fixed

  • #5892: Errors during write of phpunit.xml are not handled correctly when --generate-configuration is used

How to install or update PHPUnit