averias/phpredis-json

View on GitHub
docker-tests/phpunit_docker.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"
         stopOnError="false"
         stopOnFailure="false"
         verbose="true"
>
    <testsuites>
        <testsuite name="PHP RedisJson Integration Tests">
            <directory suffix="Test.php" >../tests/Integration/</directory>
        </testsuite>
        <testsuite name="PHP RedisJson Unit Tests">
            <directory suffix="Test.php">../tests/Unit</directory>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">../src/</directory>
            <exclude>
                <directory>../src/RedisJsonClient/Exception</directory>
                <directory>../src/RedisJsonClient/Enum</directory>
                <directory>../src/RedisJsonClient/Pipeline/Version</directory>
                <directory suffix="Interface.php">../src/</directory>
            </exclude>
        </whitelist>
    </filter>
    <logging>
        <log type="coverage-html" target="../build/coverage" />
        <log type="coverage-clover" target="../build/coverage.xml" />
    </logging>
    <php>
        <const name="REDIS_TEST_SERVER" value="redislab-rejson" />
        <const name="REDIS_TEST_PORT" value="6379" />
        <const name="REDIS_TEST_DATABASE" value="15" />
    </php>
</phpunit>