Skip to content

Releases: sebastianbergmann/phpunit

PHPUnit 11.5.5

29 Jan 14:02
11.5.5
b9a9759
Compare
Choose a tag to compare

Changed

  • Do not skip execution of test that depends on a test that is larger than itself

How to install or update PHPUnit

PHPUnit 10.5.43

29 Jan 14:02
10.5.43
fb117a8
Compare
Choose a tag to compare

Changed

  • Do not skip execution of test that depends on a test that is larger than itself

How to install or update PHPUnit

PHPUnit 11.5.4

28 Jan 15:08
11.5.4
e0da355
Compare
Choose a tag to compare

Changed

  • #5958: Support for #[CoversTrait] and #[UsesTrait] attributes is no longer deprecated
  • #5960: Support for targeting trait methods with the #[CoversMethod] and #[UsesMethod] attributes is no longer deprecated

Fixed

  • #6103: Output from test run in separate process is printed twice
  • #6109: Skipping a test in a before-class method crashes JUnit XML logger
  • #6111: Deprecations cause SourceMapper to scan all <source/> files

How to install or update PHPUnit

PHPUnit 10.5.42

28 Jan 15:08
10.5.42
a9336f4
Compare
Choose a tag to compare

Fixed

  • #6103: Output from test run in separate process is printed twice
  • #6109: Skipping a test in a before-class method crashes JUnit XML logger
  • #6111: Deprecations cause SourceMapper to scan all <source/> files

How to install or update PHPUnit

PHPUnit 11.5.3

13 Jan 09:39
11.5.3
30e319e
Compare
Choose a tag to compare

Added

  • Test\AfterLastTestMethodErrored, Test\AfterTestMethodErrored, Test\BeforeTestMethodErrored, Test\PostConditionErrored, and Test\PreConditionErrored events

Fixed

  • #6093: Test Double Code Generator does not work when PHPUnit is used from PHAR on PHP 8.4
  • #6094: Errors in after-last-test methods are not reported
  • #6095: Expectation is not counted correctly when a doubled method is called more often than is expected
  • #6096: --list-tests-xml is broken when a group with a numeric name is defined
  • #6098: No system-out element in JUnit XML logfile
  • #6100: Suppressed deprecations incorrectly stop test execution when execution should be stopped on deprecation

How to install or update PHPUnit

PHPUnit 10.5.41

13 Jan 09:39
10.5.41
e76586f
Compare
Choose a tag to compare

Added

  • Test\AfterLastTestMethodErrored, Test\AfterTestMethodErrored, Test\BeforeTestMethodErrored, Test\PostConditionErrored, and Test\PreConditionErrored events

Fixed

  • #6094: Errors in after-last-test methods are not reported
  • #6095: Expectation is not counted correctly when a doubled method is called more often than is expected
  • #6098: No system-out element in JUnit XML logfile

How to install or update PHPUnit

PHPUnit 11.5.2

21 Dec 05:52
11.5.2
153d053
Compare
Choose a tag to compare

Fixed

  • #6082: assertArrayHasKey(), assertArrayNotHasKey(), arrayHasKey(), and ArrayHasKey::__construct() do not support all possible key types
  • #6087: --migrate-configuration does not remove beStrictAboutTodoAnnotatedTests attribute from XML configuration file

How to install or update PHPUnit

PHPUnit 10.5.40

21 Dec 05:52
10.5.40
e6ddda9
Compare
Choose a tag to compare

Fixed

  • #6082: assertArrayHasKey(), assertArrayNotHasKey(), arrayHasKey(), and ArrayHasKey::__construct() do not support all possible key types
  • #6087: --migrate-configuration does not remove beStrictAboutTodoAnnotatedTests attribute from XML configuration file

How to install or update PHPUnit

PHPUnit 11.5.1

11 Dec 10:53
11.5.1
2b94d4f
Compare
Choose a tag to compare

Added

  • #6081: DefaultResultCache::mergeWith() for merging result cache instances

Fixed

  • #6066: TeamCity logger does not handle error/skipped events in before-class methods correctly

How to install or update PHPUnit

PHPUnit 10.5.39

11 Dec 10:52
10.5.39
4e89eff
Compare
Choose a tag to compare

Added

  • #6081: DefaultResultCache::mergeWith() for merging result cache instances

Fixed

  • #6066: TeamCity logger does not handle error/skipped events in before-class methods correctly

How to install or update PHPUnit