phpunit.xml
<?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 RedisBloom Integration Tests">
<directory suffix="Test.php" >./tests/Integration/</directory>
</testsuite>
<testsuite name="PHP RedisBloom Unit Tests">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src/</directory>
<exclude>
<directory>./src/RedisBloomClient/Exception</directory>
<directory>./src/RedisBloomClient/Enum</directory>
<directory suffix="Interface.php">./src/</directory>
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="build/coverage" />
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
<php>
<const name="REDIS_TEST_SERVER" value="127.0.0.1" />
<const name="REDIS_TEST_PORT" value="6379" />
<const name="REDIS_TEST_DATABASE" value="15" />
</php>
</phpunit>