edmondscommerce/doctrine-static-meta

View on GitHub
qaConfig/phpunit.xml

Summary

Maintainability
Test Coverage
<phpunit
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/7.3/phpunit.xsd"
        cacheTokens="false"
        colors="true"
        verbose="true"
        bootstrap="../tests/bootstrap.php"
        printerClass="\EdmondsCommerce\PHPQA\PHPUnit\TestDox\CliTestDoxPrinter"
        cacheResult="true"
        cacheResultFile="../var/qa/.phpunit.result.cache"
        executionOrder="depends,defects"
        forceCoversAnnotation="true"
        timeoutForMediumTests="10"
        timeoutForSmallTests="1"
        timeoutForLargeTests="300"
        failOnRisky="true"
        failOnWarning="true"
        defaultTestSuite="tests"
        beStrictAboutTodoAnnotatedTests="true"
        beStrictAboutCoversAnnotation="false"
>
    <logging>
        <log type="coverage-html" target="./../var/qa/phpunit_coverage"/>
        <log type="coverage-text" target="php://stdout"/>
        <log type="coverage-xml" target="./../var/qa/phpunit_logs/coverage-xml"/>
        <log type="coverage-clover" target="../var/qa/phpunit_logs/coverage.clover"/>
        <log type="junit" target="./../var/qa/phpunit_logs/phpunit.junit.xml"/>
    </logging>
    <filter>
        <whitelist>
            <directory suffix=".php">../src</directory>
        </whitelist>
    </filter>
    <testsuites>
        <testsuite name="tests">
            <directory suffix="Test.php">../tests/Small</directory>
            <directory suffix="Test.php">../tests/Medium</directory>
            <directory suffix="Test.php">../tests/Large</directory>
        </testsuite>
        <testsuite name="small">
            <directory suffix="Test.php">../tests/Small</directory>
        </testsuite>
        <testsuite name="medium">
            <directory suffix="Test.php">../tests/Medium</directory>
        </testsuite>
        <testsuite name="large">
            <directory suffix="Test.php">../tests/Large</directory>
        </testsuite>
    </testsuites>
</phpunit>