WordPress / WordPress/phpunit-test-runner

Running tests as a multisite fails to submit testing report

Open
#267 1 comment 0 reactions 1 assignee View on GitHub

@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:

  1. Prepare and run the test runner with WPT_FLAVOR=1.
  2. Run the reporting script.
  3. Observe a failure.
  4. Inspect the tests/phpunit/build/logs directory and see that there is no junit.xml file.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.