<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="tests/bootstrap.php" colors="true"
         xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd">
    <testsuites>
        <testsuite name="unit">
            <directory>./tests/Unit</directory>
        </testsuite>
    </testsuites>

    <coverage processUncoveredFiles="true">
        <include>
            <directory suffix=".php">./lib/</directory>
        </include>
        <exclude>
            <file>./lib/AppInfo/Application.php</file>
            <file>./lib/Controller/JSONHttpErrorTrait.php</file>
            <directory suffix=".php">./lib/*/Exceptions</directory>
            <directory suffix=".php">./lib/Migration</directory>
            <file>./lib/Db/FeedType.php</file>
            <file>./lib/Db/IAPI.php</file>
        </exclude>
        <report>
            <clover outputFile="./build/coverage.xml"/>
            <html outputDirectory="./build/report" lowUpperBound="35" highLowerBound="70"/>
        </report>
    </coverage>

    <logging>
        <junit outputFile="./build/junit.xml"/>
    </logging>
</phpunit>
