-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
44 lines (44 loc) · 1.38 KB
/
phpunit.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<phpunit
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="vendor/cyruscollier/wp-test/bootstrap/phpunit.php"
beStrictAboutTestsThatDoNotTestAnything="true"
>
<testsuites>
<testsuite name="default">
<directory suffix=".php">./tests/integration</directory>
<exclude>./tests/integration/wp-tests-config.php</exclude>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>ajax</group>
<group>ms-files</group>
<group>ms-required</group>
<group>external-http</group>
</exclude>
</groups>
<php>
<includePath>.</includePath>
<const name="WP_RUN_CORE_TESTS" value="0" />
<const name="WP_TESTS_CONFIG_FILE_PATH" value="./wp-tests-config.php" />
<const name="WP_TESTS_ACTIVE_THEME" value="twentytwenty" />
</php>
<listeners>
<listener class="SpeedTrapListener" file="vendor/wordpress/wordpress/tests/phpunit/includes/listener-loader.php">
<arguments>
<array>
<element key="slow_threshold">
<integer>150</integer>
</element>
</array>
</arguments>
</listener>
</listeners>
</phpunit>