-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit-simple.xml
More file actions
42 lines (39 loc) · 1.44 KB
/
phpunit-simple.xml
File metadata and controls
42 lines (39 loc) · 1.44 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
colors="true"
processIsolation="false"
stopOnFailure="false"
backupGlobals="false">
<testsuites>
<!-- Simple tests that don't require WordPress -->
<testsuite name="Simple Tests">
<directory>./tests/php</directory>
<exclude>./tests/php/bootstrap.php</exclude>
<exclude>./tests/php/test-basic.php</exclude>
<exclude>./tests/php/utils</exclude>
</testsuite>
</testsuites> <source>
<include>
<directory suffix=".php">./includes</directory>
<directory suffix=".php">./src</directory>
</include>
<exclude>
<directory>./vendor</directory>
<directory>./tests</directory>
<directory>./build</directory>
<directory>./assets</directory>
<file>./tour-operator.php</file>
<file>./tour-operator-bootstrap.php</file>
</exclude>
</source>
<coverage includeUncoveredFiles="true">
<report>
<html outputDirectory="tests/coverage/html"/>
<clover outputFile="tests/coverage/clover.xml"/>
</report>
</coverage>
<logging>
<junit outputFile="tests/results/junit.xml"/>
</logging>
</phpunit>