-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
51 lines (50 loc) · 1.67 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
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="true"
backupStaticAttributes="false"
bootstrap="./core/tests/bootstrap.php"
colors="true"
processIsolation="false"
verbose="false">
<listeners>
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener">
<arguments>
<array>
<element key="slowThreshold">
<integer>500</integer>
</element>
<element key="reportLength">
<integer>20</integer>
</element>
</array>
</arguments>
</listener>
</listeners>
<testsuites>
<testsuite name="Core Tests">
<directory>./core/tests</directory>
</testsuite>
<testsuite name="HomePage Tests">
<directory>./apps/HomePage/tests</directory>
</testsuite>
<testsuite name="ErrorHandler Tests">
<directory>./apps/ErrorHandler/tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./apps/*/src</directory>
<directory suffix=".php">./core/src</directory>
</whitelist>
<blacklist>
<directory suffix=".php">vendor</directory>
</blacklist>
</filter>
<php>
<ini name="memory_limit" value="-1"/>
<ini name="date.timezone" value="Europe/London"/>
<ini name="error_reporting" value="E_ALL"/>
</php>
<logging>
<log type="junit" target="./build/reports/test-results.xml"/>
</logging>
</phpunit>