dcardenascom/lemonway-php

View on GitHub
phpunit.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="./vendor/autoload.php" colors="true" verbose="true">
    <testsuites>
        <testsuite name="Testsuite">
            <directory>./tests</directory>
        </testsuite>
    </testsuites>
    <php>
        <const name="WEB_SERVER_HOST" value="localhost" />
        <const name="WEB_SERVER_PORT" value="7231" />
        <const name="WEB_SERVER_DOCROOT" value="./src/public" />
    </php>
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./src</directory>
            <exclude>
                <directory suffix=".php">./src/Commands</directory>
                <directory suffix=".php">./src/Exceptions</directory>
                <directory suffix=".php">./src/Interfaces</directory>
            </exclude>
        </whitelist>
    </filter>
    <logging>
        <log type="coverage-clover" target="./logs/clover.xml"/>
        <log type="coverage-html" target="./logs/coverage"/>
    </logging>
</phpunit>