barracudanetworks/jobrunner

View on GitHub
phpunit.xml.dist

Summary

Maintainability
Test Coverage
<phpunit
    bootstrap='tests/bootstrap.php'
    verbose='true'>

    <testsuites>
        <!-- test suite for autoloaded OO-only code -->
        <testsuite name="jobrunner">
            <directory suffix='Test.php'>tests</directory>
        </testsuite>
    </testsuites>

    <!-- automated Mockery configuration for tests -->
    <listeners>
        <listener class="\Mockery\Adapter\Phpunit\TestListener" />
    </listeners>

    <logging>
        <log type="coverage-html" target="build/coverage" charset="UTF-8" highlight="true" />
        <log type="coverage-clover" target="build/logs/clover.xml"/>
    </logging>
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix='.php'>src</directory>
        </whitelist>
    </filter>
</phpunit>