-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathphpunit.xml.dist
39 lines (34 loc) · 1.27 KB
/
phpunit.xml.dist
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
39
<phpunit
colors="true"
stopOnError="true"
stopOnFailure="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
bootstrap="./vendor/autoload.php">
<testsuite name="Unit test suite">
<directory>./tests</directory>
</testsuite>
<filter>
<whitelist>
<directory suffix=".php">./src</directory>
<!-- no need to test the autoloading -->
<exclude>
<file>./src/autoload.php</file>
</exclude>
</whitelist>
</filter>
<php>
<ini name="error_reporting" value="32767"/>
<ini name="display_errors" value="1"/>
<ini name="display_startup_errors" value="1"/>
</php>
<logging>
<log type="coverage-html" target="./build/coverage" lowUpperBound="85" highLowerBound="95"/>
<log type="coverage-xml" target="./build/logs/coverage/coverage-xml" lowUpperBound="85" highLowerBound="95"/>
<log type="coverage-clover" target="./build/logs/clover.xml"/>
<log type="junit" target="./build/logs/junit.xml"/>
<log type="testdox-html" target="./build/logs/testdox.html"/>
<log type="testdox-text" target="./build/logs/testdox.txt"/>
</logging>
</phpunit>