-
Notifications
You must be signed in to change notification settings - Fork 59
/
phpunit.xml
38 lines (38 loc) · 1.13 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
37
38
<?xml version="1.0"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
colors="true"
stopOnError="true"
stopOnFailure="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
bootstrap="./vendor/autoload.php"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
>
<coverage>
<include>
<directory suffix=".php">./src</directory>
</include>
<exclude>
<file>./src/autoload.php</file>
</exclude>
<report>
<clover outputFile="./build/logs/clover.xml"/>
<html outputDirectory="./build/coverage" lowUpperBound="35" highLowerBound="70"/>
</report>
</coverage>
<testsuite name="Unit test suite">
<directory>./tests</directory>
</testsuite>
<php>
<ini name="error_reporting" value="32767"/>
<ini name="display_errors" value="1"/>
<ini name="display_startup_errors" value="1"/>
</php>
<logging>
<junit outputFile="./build/logs/junit.xml"/>
<testdoxHtml outputFile="./build/logs/testdox.html"/>
<testdoxText outputFile="./build/logs/testdox.txt"/>
</logging>
</phpunit>