Releases: sebastianbergmann/phpunit
Releases · sebastianbergmann/phpunit
PHPUnit 11.5.6
PHPUnit 10.5.44
Fixed
- #6115: Backed enumerations with values not of type
stringcannot be used in customized TestDox output
PHPUnit 11.5.5
Changed
- Do not skip execution of test that depends on a test that is larger than itself
PHPUnit 10.5.43
Changed
- Do not skip execution of test that depends on a test that is larger than itself
PHPUnit 11.5.4
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
SourceMapperto scan all<source/>files
PHPUnit 10.5.42
PHPUnit 11.5.3
Added
Test\AfterLastTestMethodErrored,Test\AfterTestMethodErrored,Test\BeforeTestMethodErrored,Test\PostConditionErrored, andTest\PreConditionErroredevents
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-xmlis broken when a group with a numeric name is defined - #6098: No
system-outelement in JUnit XML logfile - #6100: Suppressed deprecations incorrectly stop test execution when execution should be stopped on deprecation
PHPUnit 10.5.41
Added
Test\AfterLastTestMethodErrored,Test\AfterTestMethodErrored,Test\BeforeTestMethodErrored,Test\PostConditionErrored, andTest\PreConditionErroredevents
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-outelement in JUnit XML logfile