-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpunit.xml
53 lines (46 loc) · 1.6 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
colors="true"
bootstrap="vendor/autoload.php"
failOnRisky="true"
failOnWarning="true"
executionOrder="random"
cacheDirectory=".phpunit.cache"
beStrictAboutOutputDuringTests="true">
<source>
<include>
<directory>src</directory>
</include>
<exclude>
<file>src/Routes.php</file>
<file>src/Dependencies.php</file>
</exclude>
</source>
<testsuites>
<testsuite name="unit">
<directory>tests/Unit</directory>
</testsuite>
<testsuite name="integration">
<directory>tests/Integration</directory>
</testsuite>
</testsuites>
<coverage>
<report>
<text outputFile="report/coverage.txt"/>
<html outputDirectory="report/html/"/>
<clover outputFile="report/coverage-clover.xml"/>
</report>
</coverage>
<logging>
<junit outputFile="report/execution-result.xml"/>
</logging>
<php>
<env name="CHEAP_DELIVERY_HOST" value="cheap-delivery.localhost"/>
<env name="MYSQL_DATABASE_HOST" value="cheap-delivery-adm"/>
<env name="MYSQL_DATABASE_PORT" value="3306"/>
<env name="MYSQL_DATABASE_NAME" value="cheap_delivery_adm_test"/>
<env name="MYSQL_DATABASE_USER" value="root"/>
<env name="MYSQL_DATABASE_PASSWORD" value="root"/>
</php>
</phpunit>