-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpunit.coverage.xml
More file actions
38 lines (37 loc) · 1.43 KB
/
phpunit.coverage.xml
File metadata and controls
38 lines (37 loc) · 1.43 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="tests/bootstrap.php"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
failOnDeprecation="true"
failOnNotice="true"
failOnPhpunitDeprecation="true"
failOnIncomplete="true"
failOnEmptyTestSuite="true"
failOnRisky="true"
failOnSkipped="true"
failOnWarning="true"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnPhpunitDeprecations="true">
<!-- Define a basic testsuite -->
<testsuites>
<testsuite name="Default">
<directory>tests</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
</source>
<coverage>
<report>
<clover outputFile="./coverage/clover.xml"/>
<cobertura outputFile="./coverage/cobertura.xml"/>
<crap4j outputFile="./coverage/crap4j.xml" threshold="50"/>
<html outputDirectory="./coverage/html" lowUpperBound="35" highLowerBound="70"/>
<php outputFile="./coverage/coverage.php"/>
<text outputFile="./coverage/coverage.txt" showUncoveredFiles="false" showOnlySummary="true"/>
<xml outputDirectory="./coverage/xml"/>
</report>
</coverage>
</phpunit>