59 lines
2.5 KiB
XML
59 lines
2.5 KiB
XML
<phpunit
|
|
bootstrap="includes/bootstrap.php"
|
|
backupGlobals="false"
|
|
colors="true"
|
|
beStrictAboutTestsThatDoNotTestAnything="true"
|
|
>
|
|
<php>
|
|
<const name="WP_TESTS_MULTISITE" value="1" />
|
|
</php>
|
|
<testsuites>
|
|
<!-- Default test suite to run all tests -->
|
|
<testsuite name="default">
|
|
<directory suffix=".php">tests</directory>
|
|
<exclude>tests/phpunit/tests/actions/closures.php</exclude>
|
|
<exclude>tests/phpunit/tests/image/editor.php</exclude>
|
|
<exclude>tests/phpunit/tests/image/editorGd.php</exclude>
|
|
<exclude>tests/phpunit/tests/image/editorImagick.php</exclude>
|
|
<!-- Path relative to the checkout root, for PHPUnit 3.6.x -->
|
|
<exclude>tests/phpunit/tests/rest-api/rest-autosaves-controller.php</exclude>
|
|
<!-- Same path relative to the configuration file, for PHPUnit 4.0.0+ -->
|
|
<exclude>tests/rest-api/rest-autosaves-controller.php</exclude>
|
|
<file phpVersion="5.3.0">tests/phpunit/tests/actions/closures.php</file>
|
|
<file phpVersion="5.3.0">tests/phpunit/tests/image/editor.php</file>
|
|
<file phpVersion="5.3.0">tests/phpunit/tests/image/editorGd.php</file>
|
|
<file phpVersion="5.3.0">tests/phpunit/tests/image/editorImagick.php</file>
|
|
</testsuite>
|
|
<!-- Sets the DOING_AUTOSAVE constant, so needs to be run last -->
|
|
<testsuite name="restapi-autosave">
|
|
<!-- Path relative to the checkout root, for PHPUnit 3.6.x -->
|
|
<file>tests/phpunit/tests/rest-api/rest-autosaves-controller.php</file>
|
|
<!-- Same path relative to the configuration file, for PHPUnit 4.0.0+ -->
|
|
<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>
|
|
<php>
|
|
<const name="WP_RUN_CORE_TESTS" value="1" />
|
|
</php>
|
|
<listeners>
|
|
<listener class="SpeedTrapListener" file="tests/phpunit/includes/speed-trap-listener.php">
|
|
<arguments>
|
|
<array>
|
|
<element key="slowThreshold">
|
|
<integer>150</integer>
|
|
</element>
|
|
</array>
|
|
</arguments>
|
|
</listener>
|
|
</listeners>
|
|
</phpunit>
|