-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
phpunit.docker.xml
36 lines (32 loc) · 1.27 KB
/
phpunit.docker.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
failOnRisky="true"
failOnWarning="true"
>
<php>
<ini name="error_reporting" value="-1" />
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0&max[direct]=0"/>
<env name="REDIS_HOST1" value="localhost:16379"/>
<env name="REDIS_HOST2" value="127.0.0.1:16379"/>
<env name="REDIS_CLUSTER_HOSTS" value="localhost:7000 localhost:7001 localhost:7002 localhost:7003 localhost:7004 localhost:7005"/>
<env name="REDIS_SENTINEL_HOST" value="localhost:26379"/>
<env name="REDIS_SENTINEL_SERVICE" value="redis_sentinel"/>
</php>
<testsuites>
<testsuite name="zenstruck/redis Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory>src</directory>
</include>
</coverage>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
</listeners>
</phpunit>