-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathphpunit-multisite.xml.dist
More file actions
35 lines (35 loc) · 1007 Bytes
/
Copy pathphpunit-multisite.xml.dist
File metadata and controls
35 lines (35 loc) · 1007 Bytes
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
<?xml version="1.0"?>
<!--
Identical to phpunit.xml.dist apart from WP_MULTISITE. The WordPress test
bootstrap reads that variable from the environment, so setting it here means
`vendor/bin/phpunit -c phpunit-multisite.xml.dist` is the whole command -
no wrapper shell needed locally or in CI.
-->
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
convertDeprecationsToExceptions="true"
beStrictAboutTestsThatDoNotTestAnything="true"
failOnWarning="true"
failOnRisky="true"
>
<php>
<env name="WP_MULTISITE" value="1"/>
</php>
<testsuites>
<testsuite name="wp-dbmanager (multisite)">
<directory prefix="test-" suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">./includes</directory>
<file>./wp-dbmanager.php</file>
<file>./uninstall.php</file>
</include>
</coverage>
</phpunit>