Releases: sebastianbergmann/phpunit
Releases · sebastianbergmann/phpunit
PHPUnit 12.3.1
Added
- #6297:
--check-php-configuration
CLI option for checking whether PHP is configured for testing
Changed
#[IgnorePhpunitDeprecations]
is now considered for test runner deprecations (where applicable)
Fixed
- #6160: Baseline file in a subdirectory contains absolute paths
- #6294: Silent failure of PHP fatal errors
- Errors due to invalid data provided using
#[TestWith]
or#[TestWithJson]
attributes are now properly reported - The
DataProviderMethodFinished
event is now also emitted when the provided data set has an invalid key
Learn how to install or update PHPUnit 12.3 in the documentation.
Keep up to date with PHPUnit:
- You can follow @[email protected] to stay up to date with PHPUnit's development.
- You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.
PHPUnit 11.5.29
Added
- #6297:
--check-php-configuration
CLI option for checking whether PHP is configured for testing
Changed
#[IgnorePhpunitDeprecations]
is now considered for test runner deprecations (where applicable)
Fixed
- #6160: Baseline file in a subdirectory contains absolute paths
- Errors due to invalid data provided using
#[TestWith]
or#[TestWithJson]
attributes are now properly reported - The
DataProviderMethodFinished
event is now also emitted when the provided data set has an invalid key
Learn how to install or update PHPUnit 11.5 in the documentation.
Keep up to date with PHPUnit:
- You can follow @[email protected] to stay up to date with PHPUnit's development.
- You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.
PHPUnit 10.5.49
Added
- #6297:
--check-php-configuration
CLI option for checking whether PHP is configured for testing
Fixed
- Errors due to invalid data provided using
#[TestWith]
or#[TestWithJson]
attributes are now properly reported
Learn how to install or update PHPUnit 10.5 in the documentation.
Keep up to date with PHPUnit:
- You can follow @[email protected] to stay up to date with PHPUnit's development.
- You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.
PHPUnit 12.3.0
Added
- #3795: Bootstrap scripts specific to test suites
- #6268:
#[IgnorePHPUnitWarnings]
attribute for ignoring PHPUnit warnings #[TestDoxFormatter]
and#[TestDoxFormatterExternal]
attributes for configuring a custom TestDox formatter for tests that use data from data providersTestRunner\ChildProcessErrored
eventConfiguration::includeTestSuites()
andConfiguration::excludeTestSuites()
Changed
- #6237: Do not run tests when code coverage analysis is requested but code coverage data cannot be collected
- #6272: Use
@<data-set-name>
format (compatible with--filter
CLI option) in defect messages - #6273: Warn when
#[DataProvider*]
attributes are mixed with#[TestWith*]
attributes
Deprecated
- #6229:
Configuration::includeTestSuite()
, useConfiguration::includeTestSuites()
instead - #6229:
Configuration::excludeTestSuite()
, useConfiguration::excludeTestSuites()
instead - #6246: Using
#[CoversNothing]
on a test method
PHPUnit 12.2.9
PHPUnit 11.5.28
PHPUnit 12.2.8
Fixed
- #6274: Infinite recursion when code coverage report in OpenClover XML format is configured in XML configuration file
PHPUnit 12.2.7
Fixed
- #6254:
defects,random
configuration is supported by implementation, but it is not allowed by the XML configuration file schema - #6259: Order of tests which use data from data providers is not affected by test sorting
- #6266: Superfluous whitespace in TestDox output when test method name has a number after the
test
prefix
PHPUnit 11.5.27
Fixed
- #6254:
defects,random
configuration is supported by implementation, but it is not allowed by the XML configuration file schema - #6259: Order of tests which use data from data providers is not affected by test sorting
- #6266: Superfluous whitespace in TestDox output when test method name has a number after the
test
prefix
PHPUnit 10.5.48
Fixed
- #6254:
defects,random
configuration is supported by implementation, but it is not allowed by the XML configuration file schema