forked from postfixadmin/postfixadmin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
33 lines (29 loc) · 948 Bytes
/
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
<phpunit
bootstrap="tests/bootstrap.php"
>
<testsuites>
<testsuite name="default">
<directory>./tests</directory>
</testsuite>
</testsuites>
<php>
<const name="PHPUNIT_TEST" value="true" />
</php>
<logging>
<log type="coverage-html" target="./coverage" charset="UTF-8" highlight="false" lowUpperBound="35" highLowerBound="70"/>
</logging>
<filter>
<whitelist>
<directory>./model</directory>
<directory>./public</directory>
<file>./functions.inc.php</file>
</whitelist>
<blacklist>
<!-- no point in doing coverage for the tests themselves -->
<directory>./tests/</directory>
<!-- we have no control over code from these directories -->
<directory>./vendor/</directory>
<directory>./lib/</directory>
</blacklist>
</filter>
</phpunit>