forked from monospice/laravel-redis-sentinel-drivers
-
Notifications
You must be signed in to change notification settings - Fork 3
/
phpunit.xml.dist
48 lines (43 loc) · 1.52 KB
/
phpunit.xml.dist
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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="tests/bootstrap.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="unit">
<directory>tests/Unit</directory>
</testsuite>
<testsuite name="integration">
<directory>tests/Integration</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src</directory>
</whitelist>
</filter>
<php>
<!-- Integration test configuration: -->
<const name="TEST_REDIS_SENTINEL_HOST"
value="127.0.0.1:26379,127.0.0.1:26380,127.0.0.1:26381"/>
<const name="TEST_REDIS_SENTINEL_SERVICE" value="service1"/>
<const name="TEST_REDIS_DATABASE" value="15"/>
<const name="TEST_MAX_CONNECTION_TIMEOUT" value="5.0"/>
<const name="TEST_MIN_CONNECTION_TIMEOUT" value="0.1"/>
</php>
<!--
<logging>
<log type="tap" target="build/report.tap"/>
<log type="junit" target="build/report.junit.xml"/>
<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
<log type="coverage-text" target="build/coverage.txt"/>
<log type="coverage-clover" target="build/clover.xml"/>
</logging>
-->
</phpunit>