-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathphpunit.xml
31 lines (29 loc) · 900 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
<?xml version="1.0"?>
<phpunit
bootstrap="test/integration/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
>
<testsuites>
<testsuite>
<directory prefix="" suffix=".php">./test/unit/</directory>
<directory prefix="" suffix=".php">./test/integration/suites/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./includes/</directory>
<exclude>
<file>./includes/main.php</file>
<!-- integration features -->
<file>./includes/preconditions/class-acf-preconditions.php</file>
<file>./includes/preconditions/class-cfp-preconditions.php</file>
<!-- admin gui -->
<file>./includes/admin/plugin-dependency-notice.php</file>
</exclude>
</whitelist>
</filter>
</phpunit>