forked from ankitpokhrel/tus-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
31 lines (31 loc) · 1.04 KB
/
phpunit.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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
bootstrap="tests/bootstrap.php"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="true">
<testsuites>
<testsuite name="Unit">
<directory>./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src/</directory>
<exclude>
<directory suffix=".php">./src/Commands</directory>
<directory suffix=".php">./src/Config</directory>
</exclude>
</whitelist>
</filter>
<php>
<env name="REDIS_HOST" value="127.0.0.1"/>
<env name="REDIS_PORT" value="6379"/>
<env name="REDIS_TIMEOUT" value="0.5"/>
<env name="REDIS_DATABASE" value="15"/>
</php>
</phpunit>