-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml
42 lines (41 loc) · 1.52 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
39
40
41
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="phpunit.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="true">
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
<exclude>
<directory suffix=".php">./vendor/*</directory>
</exclude>
</whitelist>
</filter>
<extensions>
<extension class="Tests\SlimRedirectsTestRunner"/>
</extensions>
<php>
<server name="HTTP_HOST" value="testing"/>
<env name="REPORTS_DIR" value="./tests/results" force="true"/>
<server name="SERVER_VAR" value="4"/>
</php>
<logging>
<log type="coverage-html" target="./tests/results/report" lowUpperBound="35" highLowerBound="70"/>
<log type="coverage-clover" target="./tests/results/coverage.xml"/>
<log type="coverage-php" target="./tests/results/coverage.serialized"/>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="false"/>
<log type="junit" target="./tests/results/logfile.xml"/>
<log type="testdox-html" target="./tests/results/testdox.html"/>
<log type="testdox-text" target="./tests/results/testdox.txt"/>
</logging>
</phpunit>