mirror of
https://github.com/predis/predis.git
synced 2026-08-18 22:22:32 +00:00
a904a3a273
* Backport #1517 * Added versions restrictions * Removed Relay for cluster with coverage * Added phpcov package
57 lines
1.6 KiB
XML
57 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<phpunit
|
|
bootstrap="tests/bootstrap.php"
|
|
colors="true"
|
|
convertErrorsToExceptions="true"
|
|
convertNoticesToExceptions="true"
|
|
convertWarningsToExceptions="true"
|
|
processIsolation="false"
|
|
stopOnError="false"
|
|
stopOnFailure="false"
|
|
beStrictAboutTestsThatDoNotTestAnything="true"
|
|
>
|
|
|
|
<testsuites>
|
|
<testsuite name="Predis Test Suite">
|
|
<directory>tests/Predis/</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
|
|
<logging>
|
|
<log type="coverage-php" target="build/cov/coverage.cov"/>
|
|
</logging>
|
|
|
|
<groups>
|
|
<exclude>
|
|
<group>realm-stack</group>
|
|
<group>ext-relay</group>
|
|
<group>ext-curl</group>
|
|
<group>cluster</group>
|
|
<group>gears</group>
|
|
<group>gears-cluster</group>
|
|
<!-- <group>connected</group> -->
|
|
<!-- <group>disconnected</group> -->
|
|
<!-- <group>commands</group> -->
|
|
<!-- <group>slow</group> -->
|
|
</exclude>
|
|
</groups>
|
|
|
|
<filter>
|
|
<whitelist>
|
|
<directory suffix=".php">src/</directory>
|
|
</whitelist>
|
|
</filter>
|
|
|
|
<php>
|
|
<const name="REDIS_SERVER_HOST" value="127.0.0.1" />
|
|
<const name="REDIS_SERVER_PORT" value="6379" />
|
|
<const name="REDIS_SERVER_DBNUM" value="0" />
|
|
<env name="USE_RELAY" value="false" />
|
|
<env name="REDIS_STACK_SERVER_PORT" value="6479" />
|
|
|
|
<!-- Redis Cluster -->
|
|
<!-- Only master nodes endpoints included -->
|
|
<const name="REDIS_CLUSTER_ENDPOINTS" value="127.0.0.1:6372,127.0.0.1:6373,127.0.0.1:6374" />
|
|
</php>
|
|
</phpunit>
|