jvleeuwen/laravel-cspreporter

View on GitHub
phpunit.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         bootstrap="vendor/autoload.php"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false">
    <testsuites>
        <testsuite name="Feature">
            <directory suffix="Test.php">./tests/Feature</directory>
        </testsuite>

        <testsuite name="Unit">
            <directory suffix="Test.php">./tests/Unit</directory>
        </testsuite>

         <testsuite name="Tests">
            <directory suffix="Test.php">./tests/</directory>
        </testsuite>

    </testsuites>
    <php>
        <env name="APP_ENV" value="testing"/>
    </php>
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./src</directory>
            <!-- <exclude>
                <directory>./src/Facades</directory>
                <file>./src/CspreporterServiceProvider.php</file>
            </exclude> -->
        </whitelist>
    </filter>
    <logging>
        <log type="coverage-html" target="build/logs" charset="UTF-8" yui="true" highlight="true" lowUpperBound="35" highLowerBound="80" />
        <log type="coverage-clover" target="build/logs/clover.xml"/>
        <log type="coverage-php" target="build/logs/coverage.cov"/>
        <log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false"/>

    </logging>
    <php>
        <env name="APP_ENV" value="testing"/>
        <env name="CACHE_DRIVER" value="array"/>
        <env name="SESSION_DRIVER" value="array"/>
        <env name="QUEUE_DRIVER" value="sync"/>
    </php>
</phpunit>