forked from awesomemotive/easy-digital-downloads
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
executable file
·52 lines (52 loc) · 2.06 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
52
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
>
<testsuites>
<testsuite>
<directory prefix="tests-" suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./includes</directory>
<file>easy-digital-downloads.php</file>
<file>uninstall.php</file>
<exclude>
<file>./includes/admin/payments/view-order-details.php</file>
<file>./includes/admin/discounts/edit-discount.php</file>
<file>./includes/admin/discounts/add-discount.php</file>
<file>./includes/admin/reporting/class-export-customers.php</file>
<file>./includes/admin/reporting/class-export-download-history.php</file>
<file>./includes/admin/reporting/class-export-earnings.php</file>
<file>./includes/admin/reporting/class-export-payments.php</file>
<file>./includes/admin/tools/class-edd-tools-recount-all-stats.php</file>
<file>./includes/admin/tools/class-edd-tools-recount-customer-stats.php</file>
<file>./includes/admin/tools/class-edd-tools-recount-download-stats.php</file>
<file>./includes/admin/tools/class-edd-tools-recount-single-customer-stats.php</file>
<file>./includes/admin/tools/class-edd-tools-recount-store-earnings.php</file>
<file>./includes/admin/tools/class-edd-tools-reset-stats.php</file>
<file>./includes/admin/import/class-batch-import-downloads.php</file>
<file>./includes/admin/import/class-batch-import-payments.php</file>
<file>./includes/class-edd-cli.php</file>
<directory suffix=".php">./includes/admin/reporting/export</directory>
<directory>./includes/libraries/</directory>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="SpeedTrapListener" file="tests/phpunit/speed-trap-listener.php">
<arguments>
<array>
<element key="slowThreshold">
<integer>150</integer>
</element>
</array>
</arguments>
</listener>
</listeners>
</phpunit>