<phpunit
    bootstrap="./vendor/autoload.php"
    colors="false"
    convertErrorsToExceptions="true"
    convertNoticesToExceptions="true"
    convertWarningsToExceptions="true"
    verbose="true"
    stopOnFailure="false"
    processIsolation="false"
    backupGlobals="false"
    syntaxCheck="true"
>
    <testsuites>
        <testsuite name="WhichBrowser tests">
            <directory suffix="Test.php">tests/unit</directory>
        </testsuite>
    </testsuites>

    <filter>
       <whitelist addUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">src/Model</directory>
            <file>src/Parser.php</file>
            <file>src/Analyser.php</file>
            <file>src/Cache.php</file>
        </whitelist>
    </filter>

    <logging>
        <log type="coverage-html" target="./build" charset="UTF-8" highlight="false" lowUpperBound="35" highLowerBound="70"/>
    </logging>

</phpunit>
