lightster/hodor

View on GitHub
phpunit.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
    backupGlobals="false"
    backupStaticAttributes="false"
    bootstrap="tests/bootstrap.php"
    colors="true"
    convertErrorsToExceptions="true"
    convertNoticesToExceptions="true"
    convertWarningsToExceptions="true"
    forceCoversAnnotation="true"
>

    <testsuites>
        <testsuite name="src">
            <directory>./tests/src</directory>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist addUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./src</directory>
        </whitelist>
    </filter>
    <logging>
        <log type="coverage-html"
            target="tests/log/coverage"
            charset="UTF-8"
            yui="true"
            highlight="false"
            lowUpperBound="70"
            highLowerBound="90"
        />
        <log type="testdox-html" target="tests/log/testdox.html"/>
        <log type="coverage-clover" target="tests/log/coverage.xml" />
    </logging>
    <php>
        <ini name="error_reporting" value="E_ALL" />
    </php>
</phpunit>