-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
36 lines (35 loc) · 1.03 KB
/
phpunit.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
27
28
29
30
31
32
33
34
35
36
<?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="vendor/autoload.php"
colors="true"
executionOrder="random"
failOnWarning="true"
failOnRisky="true"
failOnEmptyTestSuite="true"
beStrictAboutOutputDuringTests="true"
verbose="true"
>
<testsuites>
<testsuite name="Unit">
<directory>./tests/Unit</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">./src</directory>
</include>
<report>
<text outputFile="./coverage/text-coverage.txt"/>
<html outputDirectory="./coverage/report"/>
<cobertura outputFile="./coverage/cobertura-coverage.xml"/>
</report>
</coverage>
<logging>
<junit outputFile="./phpunit-report.xml"/>
</logging>
<php>
<server name="XDEBUG_MODE" value="coverage"/>
</php>
</phpunit>