<?xml version="1.0" encoding="UTF-8"?>

<phpunit bootstrap="tests/bootstrap.php" colors="true" strict="true">
    <testsuites>
        <testsuite name="Predis Test Suite">
            <directory>tests/Predis/</directory>
        </testsuite>
    </testsuites>

    <groups>
        <exclude>
            <group>ext-phpiredis</group>
            <group>ext-curl</group>
            <group>realm-webdis</group>
            <!-- <group>connected</group> -->
            <!-- <group>disconnected</group> -->
            <!-- <group>commands</group> -->
            <!-- <group>slow</group> -->
        </exclude>
    </groups>

    <filter>
        <whitelist>
            <directory suffix=".php">lib/Predis/</directory>
        </whitelist>
    </filter>

    <php>
        <!-- Redis -->
        <const name="REDIS_SERVER_VERSION" value="2.6" />
        <const name="REDIS_SERVER_HOST" value="127.0.0.1" />
        <const name="REDIS_SERVER_PORT" value="6379" />
        <const name="REDIS_SERVER_DBNUM" value="15" />

        <!-- Webdis -->
        <const name="WEBDIS_SERVER_HOST" value="127.0.0.1" />
        <const name="WEBDIS_SERVER_PORT" value="7379" />
    </php>
</phpunit>
