-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
31 lines (31 loc) · 1.26 KB
/
Copy pathphpunit.xml
File metadata and controls
31 lines (31 loc) · 1.26 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="tests/php/bootstrap.php"
cacheDirectory=".phpunit.cache"
executionOrder="depends,defects"
beStrictAboutOutputDuringTests="true"
failOnWarning="true"
failOnRisky="true"
colors="true">
<testsuites>
<testsuite name="php">
<directory>tests/php</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">src/kayak/web/php</directory>
</include>
<exclude>
<!-- db.php does side-effectful PDO init at load time. -->
<file>src/kayak/web/php/includes/db.php</file>
</exclude>
</source>
<!-- pcov is a line-only driver (no path coverage). T2.7 sets pcov as
the engine via shivammathur/setup-php; PHPUnit 11.x picks it up
automatically once a driver is present, but specifying the
<coverage> block is the documented shape and avoids the "no
coverage configuration found" silent-fallback path. -->
<coverage pathCoverage="false" includeUncoveredFiles="true"/>
</phpunit>