-
Notifications
You must be signed in to change notification settings - Fork 7
/
phpunit.xml
38 lines (33 loc) · 1.3 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" encoding="UTF-8"?>
<phpunit bootstrap="./tests/bootstrap.php"
backupGlobals="false"
backupStaticAttributes="false"
verbose="true"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
>
<!-- Define logging and code coverage -->
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">lib</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="./reports/html" lowUpperBound="50" highLowerBound="80"/>
<!-- <log type="coverage-clover" target="./reports/coverage.xml"/> -->
<!-- <log type="coverage-php" target="./reports/coverage.serialized"/> -->
<log type="coverage-text" target="php://stdout" showUncoveredFiles="false"/>
<log type="json" target="./reports/logfile.json"/>
<log type="testdox-text" target="./reports/testdox.txt"/>
</logging>
<!-- Define test suites below -->
<testsuites>
<testsuite name="Global">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
</phpunit>