Releases: sebastianbergmann/phpunit
Releases · sebastianbergmann/phpunit
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
SourceMapper
to scan all<source/>
files
PHPUnit 10.5.42
PHPUnit 11.5.3
Added
Test\AfterLastTestMethodErrored
,Test\AfterTestMethodErrored
,Test\BeforeTestMethodErrored
,Test\PostConditionErrored
, andTest\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
PHPUnit 10.5.41
Added
Test\AfterLastTestMethodErrored
,Test\AfterTestMethodErrored
,Test\BeforeTestMethodErrored
,Test\PostConditionErrored
, andTest\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