forked from fergbrain/wordpress-test-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
39 lines (35 loc) · 1005 Bytes
/
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
32
33
34
35
36
37
38
39
<phpunit
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="tests/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
verbose="true"
>
<logging>
<log type="coverage-clover" target="clover.xml"/>
</logging>
<php>
<!-- Enter the name of your main plugin file here -->
<env name="PLUGIN_FILE" value="test-plugin/boilerplate-dummy-plugin/boilerplate-dummy-plugin.php"/>
</php>
<testsuites>
<testsuite>
<directory prefix="test-" suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./</directory>
<exclude>
<directory suffix=".php">./wptest</directory>
<directory suffix=".php">./vendor</directory>
<directory suffix=".php">./spec</directory>
<directory suffix=".php">./docker</directory>
<directory suffix=".php">./wpcs</directory>
</exclude>
</whitelist>
</filter>
</phpunit>