forked from xwp/stream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
31 lines (31 loc) · 1 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
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
>
<testsuites>
<testsuite name="stream">
<directory prefix="test-" suffix=".php">tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory prefix="class-" suffix=".php">alerts</directory>
<directory prefix="class-" suffix=".php">classes</directory>
<directory prefix="class-" suffix=".php">connectors</directory>
<directory prefix="class-" suffix=".php">exporters</directory>
<directory prefix="class-" suffix=".php">includes</directory>
<exclude>
<file>classes/class-cli.php</file><!-- FIXME: It can't resolve WP_CLI_Command for some reason. -->
<directory>includes/lib</directory>
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="tests/reports/clover.xml" />
</logging>
</phpunit>