-
Notifications
You must be signed in to change notification settings - Fork 376
/
phpunit.xml
46 lines (43 loc) · 1.56 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
42
43
44
45
46
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="./test/bootstrap.php"
backupGlobals="false"
backupStaticAttributes="false"
strict="true"
verbose="true">
<testsuites>
<testsuite name="Unit">
<exclude>
<file>/test/TestTemplate.php</file>
</exclude>
<directory suffix=".php">./test/unit</directory>
</testsuite>
<testsuite name="Integration">
<exclude>
<file>/test/TestTemplate.php</file>
</exclude>
<directory suffix=".php">./test/integration</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-html" target="build/coverage"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="coverage-crap4j" target="build/logs/crap4j.xml"/>
<log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>
</logging>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
<exclude>
<directory suffix=".php">./composer</directory>
<directory suffix=".php">./lib</directory>
<directory suffix=".php">./lib/Mail</directory>
<directory suffix=".php">./lib/composer</directory>
<directory suffix=".php">./js</directory>
<directory suffix=".php">./admin</directory>
<directory suffix=".php">./modules</directory>
<directory suffix=".php">./robo</directory>
<directory suffix=".php">./migrations</directory>
</exclude>
</whitelist>
</filter>
</phpunit>