forked from nuwave/lighthouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
39 lines (35 loc) · 1.3 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
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>
<coverage>
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
<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>