File: phpunit.relay.xml

package info (click to toggle)
php-nrk-predis 3.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 8,680 kB
  • sloc: php: 71,678; xml: 50; makefile: 12
file content (58 lines) | stat: -rw-r--r-- 1,769 bytes parent folder | download
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?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 phpVersion="7.4">tests/Predis/</directory>
        </testsuite>
    </testsuites>

    <logging>
        <log type="coverage-php" target="build/cov/coverage.cov"/>
    </logging>

    <groups>
        <exclude>
            <group>relay-incompatible</group>
            <group>relay-resp3</group>
            <group>realm-stack</group>
            <group>ext-curl</group>
            <group>cluster</group>
            <group>gears</group>
            <group>unprotected</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_UNPROTECTED_SERVER_PORT" value="6380" />
        <const name="REDIS_SERVER_DBNUM" value="0" />
        <const name="REDIS_PASSWORD" value="foobar" />
        <env name="USE_RELAY" value="true" />
        <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?password=foobar,127.0.0.1:6373?password=foobar,127.0.0.1:6374?password=foobar"
        />
    </php>
</phpunit>