forked from WPCloudDeploy/wp-cloud-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
48 lines (48 loc) · 1.65 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
45
46
47
48
<phpunit
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="./tests/phpunit.php"
beStrictAboutTestsThatDoNotTestAnything="true"
>
<testsuites>
<testsuite name="default">
<directory suffix=".php">tests/phpunit</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./includes/core/apps/wordpress-app/rest-api</directory>
</whitelist>
</filter>
<groups>
<exclude>
<group>integration</group>
</exclude>
</groups>
<php>
<includePath>.</includePath>
<const name="WP_TESTS_MULTISITE" value="0" />
<const name="WP_TESTS_ACTIVATE_THEME" value="twentytwenty" />
<const name="WP_TESTS_ACTIVATE_PLUGINS" value="1" />
<const name="WP_TESTS_INSTALL_PLUGINS" value="" />
<const name="WP_TESTS_ADDITIONAL_PLUGINS" value="" />
<const name="WP_TESTS_CONFIG_FILE_PATH" value="wp-tests-config.php" />
</php>
<listeners>
<listener class="SpeedTrapListener" file="vendor/wp-phpunit/wp-phpunit/includes/listener-loader.php">
<arguments>
<array>
<element key="slowThreshold">
<integer>500</integer>
</element>
</array>
</arguments>
</listener>
</listeners>
</phpunit>