-
Notifications
You must be signed in to change notification settings - Fork 9
/
phpunitWithCodeCoverage.xml
26 lines (26 loc) · 1.02 KB
/
phpunitWithCodeCoverage.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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" bootstrap="tests/bootstrap_tests.php" colors="true">
<testsuite name="all">
<directory>tests</directory>
</testsuite>
<coverage includeUncoveredFiles="true" processUncoveredFiles="true" ignoreDeprecatedCodeUnits="true" disableCodeCoverageIgnore="true">
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory suffix=".php">src/interfaces</directory>
<file>src/base.php</file>
<file>src/collection.php</file>
<file>src/error.php</file>
<file>src/errors.php</file>
<file>src/exception.php</file>
<file>src/resource.php</file>
<file>src/response.php</file>
</exclude>
<report>
<html outputDirectory="tests/report" lowUpperBound="35" highLowerBound="70"/>
<text outputFile="php://stdout" showUncoveredFiles="true"/>
<clover outputFile="tests/report/clover.xml"/>
</report>
</coverage>
</phpunit>