Wordpress/tests/phpunit/multisite.xml

52 lines
2.1 KiB
XML
Raw Normal View History

<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>
<!-- DOING_AUTOSAVE constant pollutes test suite -->
<!-- and there is a weird 5.2 edge case: https://core.trac.wordpress.org/ticket/45132 -->
<exclude>tests/rest-api/rest-autosaves-controller.php</exclude>
<exclude>tests/phpunit/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>
</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>