forked from nuwave/lighthouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
44 lines (40 loc) · 1.42 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
verbose="true"
>
<testsuites>
<testsuite name="Unit">
<directory>tests/Unit</directory>
</testsuite>
<testsuite name="Integration">
<directory>tests/Integration</directory>
</testsuite>
<testsuite name="Console">
<directory>tests/Console</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src</directory>
</whitelist>
</filter>
<php>
<env name="LIGHTHOUSE_TEST_DB_DATABASE" value="test"/>
<env name="LIGHTHOUSE_TEST_DB_HOST" value="mysql"/>
<env name="LIGHTHOUSE_TEST_DB_PORT" value="3306"/>
<env name="LIGHTHOUSE_TEST_DB_USERNAME" value="root"/>
<env name="LIGHTHOUSE_TEST_DB_PASSWORD" value=""/>
<env name="LIGHTHOUSE_TEST_REDIS_HOST" value="redis"/>
<env name="LIGHTHOUSE_TEST_REDIS_PASSWORD" value="null"/>
<env name="LIGHTHOUSE_TEST_REDIS_PORT" value="6379"/>
<env name="LIGHTHOUSE_TEST_REDIS_DB" value="0"/>
</php>
</phpunit>