WordPress / WordPress/phpunit-test-runner
Running tests as a multisite fails to submit testing report
Open
@desrosj is already working on this.
Since Sep 18, 2025.
bug
ContributorDay
needs testing
WCUS26
- Dominant language
- PHP
- Stars
- 77
- Forks
- 77
- Avg merge
- 15d 15h
- Merged PRs (30d)
- 4
Description
Describe the bug
When the test runner is configured to run the unit test suite as a multisite, the results will not be submitted successfully because no junit.xml file is produced.
I've opened a ticket upstream in Core Trac, but I'm creating this to follow up once that's addressed, and to consider any other functional differences when running the tests as a multisite install.
To Reproduce
Steps to reproduce the behavior:
- Prepare and run the test runner with
WPT_FLAVOR=1. - Run the reporting script.
- Observe a failure.
- Inspect the
tests/phpunit/build/logsdirectory and see that there is nojunit.xmlfile.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.