forked from yoavf/woocommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
51 lines (51 loc) · 2.19 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
verbose="true"
>
<testsuites>
<testsuite name="WooCommerce Test Suite">
<directory suffix=".php">./tests/unit-tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./includes</directory>
<file>woocommerce.php</file>
<file>uninstall.php</file>
<exclude>
<directory suffix=".php">./includes/admin/helper/views</directory>
<directory suffix=".php">./includes/admin/importers/views</directory>
<directory suffix=".php">./includes/admin/meta-boxes/views</directory>
<directory suffix=".php">./includes/admin/plugin-updates/views</directory>
<directory suffix=".php">./includes/admin/views</directory>
<directory suffix=".php">./includes/api/legacy</directory>
<directory suffix=".php">./includes/api/v1</directory>
<directory suffix=".php">./includes/legacy</directory>
<directory suffix=".php">./includes/libraries</directory>
<directory suffix=".php">./includes/shipping/legacy-flat-rate</directory>
<directory suffix=".php">./includes/shipping/legacy-free-shipping</directory>
<directory suffix=".php">./includes/shipping/legacy-international-delivery</directory>
<directory suffix=".php">./includes/shipping/legacy-local-delivery</directory>
<directory suffix=".php">./includes/shipping/legacy-local-pickup</directory>
<directory suffix=".php">./includes/updates</directory>
<directory suffix=".php">./includes/vendor</directory>
<directory suffix=".php">./includes/widgets</directory>
<directory suffix=".php">./packages</directory>
<directory suffix=".php">./src</directory>
<directory suffix=".php">./vendor</directory>
<file>./includes/wc-deprecated-functions.php</file>
<file>./includes/wc-template-hooks.php</file>
<file>./includes/wc-widget-functions.php</file>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="SpeedTrapListener" file="tests/includes/listener-loader.php" />
</listeners>
</phpunit>