mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
In PHPUnit 3.6.x, `exclude` and `file` paths were required to be relative to the checkout root. This changed in PHPUnit 4 when the path requirements were changed require them to be relative to the configuration file. Since PHPUnit 3.6.x is only used to test on PHP 5.2 in older branches and is no longer supported, these can be safely removed from the configuration file. See #51802. git-svn-id: https://develop.svn.wordpress.org/trunk@49796 602fd350-edb4-49c9-b593-d223f7449a82
43 lines
1.1 KiB
XML
43 lines
1.1 KiB
XML
<phpunit
|
|
bootstrap="includes/bootstrap.php"
|
|
backupGlobals="false"
|
|
colors="true"
|
|
beStrictAboutTestsThatDoNotTestAnything="true"
|
|
>
|
|
<php>
|
|
<const name="WP_TESTS_MULTISITE" value="1" />
|
|
<const name="WP_RUN_CORE_TESTS" value="1" />
|
|
</php>
|
|
<testsuites>
|
|
<!-- Default test suite to run all tests. -->
|
|
<testsuite name="default">
|
|
<directory suffix=".php">tests</directory>
|
|
<exclude>tests/rest-api/rest-autosaves-controller.php</exclude>
|
|
</testsuite>
|
|
<!-- Sets the DOING_AUTOSAVE constant, so needs to be run last. -->
|
|
<testsuite name="restapi-autosave">
|
|
<file>tests/rest-api/rest-autosaves-controller.php</file>
|
|
</testsuite>
|
|
</testsuites>
|
|
<groups>
|
|
<exclude>
|
|
<group>ajax</group>
|
|
<group>ms-files</group>
|
|
<group>ms-excluded</group>
|
|
<group>external-http</group>
|
|
<group>oembed-headers</group>
|
|
</exclude>
|
|
</groups>
|
|
<listeners>
|
|
<listener class="SpeedTrapListener" file="tests/phpunit/includes/listener-loader.php">
|
|
<arguments>
|
|
<array>
|
|
<element key="slowThreshold">
|
|
<integer>150</integer>
|
|
</element>
|
|
</array>
|
|
</arguments>
|
|
</listener>
|
|
</listeners>
|
|
</phpunit>
|