build/phpunit.xml
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="../vendor/autoload.php"
colors="true"
>
<testsuites>
<testsuite name="JoomlaCLI">
<directory suffix="Test.php">../tests</directory>
</testsuite>
</testsuites>
<logging>
<log type="junit" target="logs/junit.xml"/>
<log type="coverage-clover" target="logs/clover.xml"/>
<log type="coverage-html" target="report"/>
</logging>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">../src</directory>
<exclude>
<file>../src/autoload.php</file>
</exclude>
</whitelist>
</filter>
</phpunit>