-
Notifications
You must be signed in to change notification settings - Fork 44
/
phpunit.xml.dist
32 lines (32 loc) · 1.23 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
verbose="true"
syntaxCheck="true"
>
<testsuites>
<testsuite name="WooCommerce Test Suite">
<directory suffix=".php">./tests/unit-tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">.</directory>
<exclude>
<directory suffix=".php">./i18n/</directory>
<directory suffix=".php">./includes/gateways/direct-debit/libraries/</directory>
<directory suffix=".php">./includes/libraries/</directory>
<directory suffix=".php">./includes/updates/</directory>
<directory suffix=".php">./includes/widgets/</directory>
<directory suffix=".php">./templates/</directory>
<directory>./tests/</directory>
<directory suffix=".php">./tmp/</directory>
</exclude>
</whitelist>
</filter>
</phpunit>