-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpunit-simple.xml
More file actions
48 lines (43 loc) · 1.98 KB
/
Copy pathphpunit-simple.xml
File metadata and controls
48 lines (43 loc) · 1.98 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
44
45
46
47
48
<?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>
<!-- Tests that run without a WordPress install.
Test files follow PHPUnit's default *Test.php convention, so discovery
needs no suffix attribute and picks up only real test files: bootstrap.php
and the helpers under utils/ are not collected because they do not match.
A new test file is included automatically by being named *Test.php. -->
<testsuite name="Simple Tests">
<directory>./tests/php</directory>
<!-- These need the WordPress test bootstrap; see phpunit.xml. -->
<exclude>./tests/php/RegistrationTest.php</exclude>
<exclude>./tests/php/TourOperatorBasicTest.php</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>
<!-- No report element here on purpose: configuring coverage output when no
coverage driver (Xdebug or PCOV) is installed makes PHPUnit emit a runner
warning and exit non-zero, which would fail CI. Request coverage explicitly
with composer test:coverage, which passes the flag on the command line. -->
<coverage includeUncoveredFiles="true"/>
<logging>
<junit outputFile="tests/results/junit.xml"/>
</logging>
</phpunit>