summaryrefslogtreecommitdiffstats
path: root/phpunit.xml.dist
blob: 1a6a012b31f3dd324fa37757559b9e2efa638e1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?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>