close

Make WordPress Core

Changeset 60781


Ignore:
Timestamp:
09/18/2025 07:15:13 PM (6 months ago)
Author:
desrosj
Message:

Build/Test Tools: Configure logging for PHPUnit and multisite.

This ensures a log file is created after running the PHPUnit test suite as a multisite.

In practice, this file is used by the Host Test Runner to collect a list of failing tests to submit to wordpress.org.

See https://github.com/WordPress/phpunit-test-runner/issues/267.

Props rishabhwp, nimeshatxecurify.
Fixes #63884.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/multisite.xml

    r60737 r60781  
    7474        </whitelist>
    7575    </filter>
     76    <logging>
     77        <log type="junit" target="tests/phpunit/build/logs/junit.xml" />
     78    </logging>
    7679</phpunit>
Note: See TracChangeset for help on using the changeset viewer.