<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-clover" target="build/logs/clover.xml"/>
        <log type="coverage-html" target="./coverage" lowUpperBound="35" highLowerBound="70"/>
    </logging>

    <filter>
        <whitelist>
            <directory>./model/</directory>
            <directory>./public/</directory>
            <directory>./functions.inc.php/</directory>
            <exclude>
                <directory>./tests/</directory>
                <directory>./vendor/</directory>
                <directory>./lib/</directory>
            </exclude>
        </whitelist>
    </filter>

</phpunit>
