-------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2025-fe7529b846 2025-06-15 01:48:03.179219+00:00 --------------------------------------------------------------------------------
Name : phpunit12 Product : Fedora 42 Version : 12.2.0 Release : 1.fc42 URL : https://github.com/sebastianbergmann/phpunit Summary : The PHP Unit Testing framework version 12 Description : PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of the xUnit architecture for unit testing frameworks. This package provides the version 12 of PHPUnit, available using the phpunit12 command. Documentation: https://phpunit.de/documentation.html -------------------------------------------------------------------------------- Update Information: Version 12.2.0 - 2025-06-06 Added Experimental Support for Open Test Reporting XML PHPUnit has supported reporting test results in the JUnit XML format for a long time. Unfortunately, there has never been a standard schema for the JUnit XML format. Common consumers of Clover XML log files interpret these files differently, which has led to frequent problems. To address this, the JUnit team started the Open Test Reporting project, creating and maintaining language-agnostic XML and HTML test reporting formats. Unlike JUnit XML, Open Test Reporting's XML formats are extensible. Logging in the Open Test Reporting XML format is controlled by the new --log-otr CLI option and the new <otr> XML configuration element. This feature is experimental and the generated XML may change in order to enhance compliance with the Open Test Reporting project's XML schema definitions. The same applies to the XML schema definitions for information that is specific for PHP and PHPUnit. Please note that such changes may occur in bugfix or minor releases and could potentially break backwards compatibility. Experimental Support for OpenClover XML PHPUnit has supported reporting code coverage information in the Clover XML format for a long time. Unfortunately, there has never been a standard schema for the Clover XML format. Common consumers of Clover XML log files interpret these files differently, which leads to frequent problems. The original commercial Clover project has been superseded by the Open Source OpenClover project, which provides an XML schema for its OpenClover XML format. Rather than modifying the existing Clover XML reporter to comply with the OpenClover XML schema, thereby breaking backward compatibility, a new OpenClover XML reporter has been introduced. This new reporter is controlled by the new CLI option, --coverage-openclover, and the new XML configuration element, <openclover>. This code coverage reporter generates XML documents that validate against the OpenClover project's XML schema definition, with one exception: the <testproject> element is not generated. The existing Clover XML reporter, controlled by the --coverage-clover CLI option and the <clover> XML configuration element, remains unchanged. This feature is experimental and the generated XML may change to enhance compliance with the OpenClover XML schema definition. Please note that such changes may occur in bugfix or minor releases and could potentially break backwards compatibility. Miscellaneous --with-telemetry CLI option that can be used together with --debug to print debugging information that includes telemetry information The TestCase::provideAdditionalInformation() method can now be used to emit a Test\AdditionalInformationProvided event The new Test\AfterLastTestMethodFailed, Test\AfterTestMethodFailed, Test\BeforeFirstTestMethodFailed, Test\BeforeTestMethodFailed, Test\PostConditionFailed, Test\PreConditionFailed events are now emitted instead of Test\AfterLastTestMethodErrored, Test\AfterTestMethodErrored, Test\BeforeFirstTestMethodErrored, Test\BeforeTestMethodErrored, Test\PostConditionErrored, Test\PreConditionErrored when the Throwable extends AssertionFailedError to distinguish between errors and failures triggered in hook methods The new Test\PreparationErrored event is now emitted instead of Test\PreparationFailed when the Throwable does not extend AssertionFailedError to distinguish between errors and failures triggered during test preparation Test\PreparationFailed::throwable() Changed #6165: Collect deprecations triggered by autoloading while loading/building the test suite Do not treat warnings differently than other issues in summary section of default output A warning is now emitted when both #[CoversNothing] and #[Covers*] (or #[Uses*]) are used on a test class A warning is now emitted when the same #[Covers*] (or #[Uses*]) attribute is used multiple times on a test class A warning is now emitted when the same code is targeted by both #[Covers*] and #[Uses*] attributes A warning is now emitted when a hook method such as setUp(), for example has a #[Test] attribute A warning is now emitted when more than one of #[Small], #[Medium], or #[Large] is used on a test class A warning is now emitted when a data provider provides data sets that have more values than the test method consumes using arguments -------------------------------------------------------------------------------- ChangeLog: * Fri Jun 6 2025 Remi Collet <[email protected]> - 12.2.0-1 - update to 12.2.0 - raise dependency on phpunit/php-code-coverage 12.3.0 - raise dependency on sebastian/environment 8.0.2 -------------------------------------------------------------------------------- This update can be installed with the "dnf" update program. Use su -c 'dnf upgrade --advisory FEDORA-2025-fe7529b846' at the command line. For more information, refer to the dnf documentation available at http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label All packages are signed with the Fedora Project GPG key. More details on the GPG keys used by the Fedora Project can be found at https://fedoraproject.org/keys -------------------------------------------------------------------------------- -- _______________________________________________ package-announce mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
