[wp-trac] [WordPress Trac] #63884: Configure logging for multisite PHPUnit configuration
WordPress Trac
noreply at wordpress.org
Tue Aug 26 18:04:03 UTC 2025
#63884: Configure logging for multisite PHPUnit configuration
------------------------------+----------------------------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.9
Component: Build/Test Tools | Version:
Severity: normal | Keywords: needs-patch good-first-bug
Focuses: multisite |
------------------------------+----------------------------------------
In the `phpunit.xml.dist configuration file,
[https://core.trac.wordpress.org/browser/trunk/phpunit.xml.dist#L34
logging is configured] using `junit`.
When running tests as a multisite, the `tests/phpunit/multisite.xml` file
is used instead. However, this one does not configure any logging.
This can be problematic when certain tools expect logging to be configured
in the same way, such as the [https://github.com/WordPress/phpunit-test-
runner phpunit-test-runner]. The test runner parses the `junit.xml` file
and submits the results to the [https://make.wordpress.org/hosting/test-
results/ WordPress.org distributed host tests]. When a host runs the tests
as a multisite, the runner fails to report the results due to the missing
`junit.xml` file.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63884>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list