-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
37 lines (35 loc) · 1.12 KB
/
phpunit.xml.dist
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
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
>
<testsuites>
<testsuite>
<directory prefix="test-" suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<file>./functions.php</file>
<directory suffix=".php">./admin/</directory>
<directory suffix=".php">./inc/</directory>
<exclude>
<directory suffix=".php">./.sass-cache/</directory>
<directory suffix=".php">./bin/</directory>
<directory suffix=".php">./hooks/</directory>
<directory suffix=".php">./node_modules/</directory>
<directory suffix=".php">./page-templates/</directory>
<directory suffix=".php">./template-parts/</directory>
<directory suffix=".php">./tests/</directory>
<directory suffix=".php">./vendor/</directory>
<directory suffix=".php">./inc/wp-cli.php</directory>
</exclude>
</whitelist>
</filter>
</phpunit>