2015-09-28 04:36:23 +02:00
|
|
|
<phpunit
|
|
|
|
bootstrap="includes/bootstrap.php"
|
2019-01-28 18:20:06 +01:00
|
|
|
backupGlobals="false"
|
|
|
|
colors="true"
|
|
|
|
beStrictAboutTestsThatDoNotTestAnything="true"
|
|
|
|
>
|
|
|
|
<php>
|
|
|
|
<const name="WP_TESTS_MULTISITE" value="1" />
|
2019-03-04 22:32:02 +01:00
|
|
|
<const name="WP_RUN_CORE_TESTS" value="1" />
|
2019-01-28 18:20:06 +01:00
|
|
|
</php>
|
|
|
|
<testsuites>
|
2020-01-29 01:43:23 +01:00
|
|
|
<!-- Default test suite to run all tests. -->
|
2019-01-28 18:20:06 +01:00
|
|
|
<testsuite name="default">
|
|
|
|
<directory suffix=".php">tests</directory>
|
2020-01-29 01:43:23 +01:00
|
|
|
<!-- Path relative to the checkout root, for PHPUnit 3.6.x. -->
|
2019-01-28 18:20:06 +01:00
|
|
|
<exclude>tests/phpunit/tests/rest-api/rest-autosaves-controller.php</exclude>
|
2020-01-29 01:43:23 +01:00
|
|
|
<!-- Same path relative to the configuration file, for PHPUnit 4.0.0+. -->
|
2019-01-28 18:20:06 +01:00
|
|
|
<exclude>tests/rest-api/rest-autosaves-controller.php</exclude>
|
|
|
|
</testsuite>
|
2020-01-29 01:43:23 +01:00
|
|
|
<!-- Sets the DOING_AUTOSAVE constant, so needs to be run last. -->
|
2019-01-28 18:20:06 +01:00
|
|
|
<testsuite name="restapi-autosave">
|
2020-01-29 01:43:23 +01:00
|
|
|
<!-- Path relative to the checkout root, for PHPUnit 3.6.x. -->
|
2019-01-28 18:20:06 +01:00
|
|
|
<file>tests/phpunit/tests/rest-api/rest-autosaves-controller.php</file>
|
2020-01-29 01:43:23 +01:00
|
|
|
<!-- Same path relative to the configuration file, for PHPUnit 4.0.0+. -->
|
2019-01-28 18:20:06 +01:00
|
|
|
<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>
|
2015-09-28 04:36:23 +02:00
|
|
|
</phpunit>
|