-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
43 lines (43 loc) · 1.25 KB
/
phpunit.xml.dist
File metadata and controls
43 lines (43 loc) · 1.25 KB
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
<?xml version="1.0"?>
<phpunit
bootstrap="tests/bootstrap.php"
backupGlobals="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
verbose="true"
>
<testsuites>
<testsuite name="unit">
<directory prefix="Test_" suffix=".php">./tests/</directory>
<exclude>./tests/Integration/</exclude>
</testsuite>
<testsuite name="integration">
<directory prefix="Test_" suffix=".php">./tests/Integration/</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
<exclude>
<directory>./tests</directory>
<directory>./assets</directory>
<directory>./bin</directory>
<directory>./languages</directory>
<directory>./vendor</directory>
<directory>./vendor_buckaroo</directory>
<directory>./templates</directory>
<file>./src/Gateways/Klarna/capture-form.php</file>
<file>./src/Gateways/Klarna/refund-form.php</file>
</exclude>
<report>
<html outputDirectory="coverage" lowUpperBound="50" highLowerBound="80"/>
<clover outputFile="coverage/clover.xml"/>
</report>
</coverage>
<php>
<env name="WP_TESTS_DIR" value="/tmp/wordpress-tests-lib"/>
</php>
</phpunit>