forked from awesomemotive/easy-digital-downloads
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml
47 lines (47 loc) · 1.66 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
syntaxCheck="false"
verbose="true"
strict="true"
bootstrap="tests/bootstrap.php">
<testsuites>
<testsuite name="Easy Digital Downloads Test Suite">
<directory suffix=".php">./tests/unit-tests</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-clover" target="./tests/clover.xml"/>
</logging>
<filter>
<blacklist>
<directory suffix=".php">./tmp/</directory>
<directory suffix=".php">./tests/</directory>
<directory suffix=".php">./includes/admin/</directory>
<directory suffix=".php">./includes/gateways/</directory>
<directory suffix=".php">./includes/libraries/</directory>
<directory suffix=".php">./templates/</directory>
<directory suffix=".php">./languages/</directory>
<!-- Need to exclude the main plugin file because the assertions are already made in tests/unit-tests/easy-digital-downloads.php -->
<file>./easy-digital-downloads.php</file>
<file>./includes/deprecated-functions.php</file>
<file>./includes/cart/actions.php</file>
<file>./includes/emails/actions.php</file>
<file>./includes/plugin-compatibility.php</file>
<file>./includes/process-download.php</file>
<file>./includes/scripts.php</file>
<file>./includes/theme-compatibility.php</file>
<file>./includes/widgets.php</file>
</blacklist>
</filter>
</phpunit>