0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00
postfixadmin/phpunit.xml

35 lines
978 B
XML
Raw Normal View History

2018-04-29 22:53:55 +02:00
<phpunit>
<php>
<const name="PHPUNIT_TEST" value="yes"/>
</php>
<testsuites>
<testsuite name="default">
<directory>./tests</directory>
</testsuite>
</testsuites>
<php>
<const name="PHP_UNIT_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>