-
Notifications
You must be signed in to change notification settings - Fork 190
Expand file tree
/
Copy pathphpunit-multisite.xml
More file actions
42 lines (40 loc) · 1.39 KB
/
Copy pathphpunit-multisite.xml
File metadata and controls
42 lines (40 loc) · 1.39 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
cacheResultFile="./tests/.phpunit.result.cache.multisite"
>
<php>
<const name="WP_TESTS_MULTISITE" value="1" />
<env name="WORDPRESS_TABLE_PREFIX" value="wp_multisite_" force="true" />
</php>
<testsuites>
<testsuite name="multisite">
<directory suffix=".php">tests</directory>
</testsuite>
</testsuites>
<!-- Kept in sync with phpunit.xml.dist; PHPUnit has no way to share this block. -->
<filter>
<whitelist addUncoveredFilesFromWhitelist="false" processUncoveredFilesFromWhitelist="false">
<directory suffix=".php">includes</directory>
<directory suffix=".php">providers</directory>
<directory suffix=".php">settings</directory>
<file>class-two-factor-compat.php</file>
<file>class-two-factor-core.php</file>
<file>two-factor.php</file>
<exclude>
<file>includes/function.login-footer.php</file>
<file>includes/function.login-header.php</file>
</exclude>
</whitelist>
</filter>
<!-- Separate targets so this suite does not overwrite the single-site report. -->
<logging>
<log type="coverage-clover" target="tests/logs/clover-multisite.xml" />
<log type="coverage-html" target="tests/logs/html-multisite" />
</logging>
</phpunit>