-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
33 lines (31 loc) · 1022 Bytes
/
phpunit.xml.dist
File metadata and controls
33 lines (31 loc) · 1022 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
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
>
<php>
<env name="WP_DEVELOP_DIR" value="/blah/blah/blah/wordpress-dev" />
<env name="WP_API_PLUGIN_PATH" value="/blah/blah/wp-api/wp-content/plugins/wp-api/plugin.php" />
</php>
<testsuites>
<!-- Default test suite to run all tests -->
<testsuite>
<directory prefix="test-" suffix=".php">tests</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-html" target="coverage" title="PHPUnit"
charset="UTF-8" yui="true" highlight="true" />
</logging>
<filter>
<blacklist>
<directory suffix=".php">.</directory>
</blacklist>
<whitelist>
<directory suffix=".php">./lib</directory>
</whitelist>
</filter>
</phpunit>