-
Notifications
You must be signed in to change notification settings - Fork 2
/
phpunit.xml.dist
41 lines (38 loc) · 1.44 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
bootstrap="tests/bootstrap.php"
cacheResultFile=".phpunit.cache/test-results"
executionOrder="depends,defects"
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true"
failOnRisky="true"
failOnWarning="true"
verbose="true"
defaultTestSuite="unit">
<testsuites>
<testsuite name="unit">
<directory>tests</directory>
<exclude>tests/Usage</exclude>
</testsuite>
<testsuite name="integration">
<directory>tests/Usage</directory>
<exclude>tests/Usage/symfony</exclude>
</testsuite>
</testsuites>
<coverage cacheDirectory=".phpunit.cache/code-coverage">
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
<php>
<env name="MYSQL_HOST" value="mysql" />
<env name="MYSQL_DATABASE" value="test" />
<env name="MYSQL_USER" value="root" />
<env name="MYSQL_PASSWORD" value="test" />
<env name="POSTGRES_HOST" value="postgres" />
<env name="POSTGRES_DATABASE" value="test" />
<env name="POSTGRES_USER" value="test" />
<env name="POSTGRES_PASSWORD" value="test" />
</php>
</phpunit>