Files
icehrm/phpunit.xml
2017-09-05 08:07:33 +02:00

47 lines
1.6 KiB
XML

<?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>