-
-
Notifications
You must be signed in to change notification settings - Fork 270
/
phpunit.xml
46 lines (46 loc) · 1.58 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
<?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="bootstrap/tests.php"
colors="true"
verbose="true"
>
<testsuites>
<testsuite name="integration">
<directory>./tests/Integration/</directory>
</testsuite>
<testsuite name="unit">
<directory>./tests/Unit/</directory>
</testsuite>
</testsuites>
<coverage includeUncoveredFiles="false" processUncoveredFiles="true">
<include>
<directory suffix=".php">./app</directory>
</include>
<exclude>
<directory>./vendor</directory>
<directory>./tests</directory>
<directory>./storage</directory>
<directory>./resources</directory>
<directory>./docker</directory>
<directory>./bootstrap</directory>
<directory>./config</directory>
<directory>./routes</directory>
<directory>./.github</directory>
</exclude>
<report>
<html outputDirectory="./coverage/html"/>
<xml outputDirectory="./coverage/xml"/>
<clover outputFile="./coverage/clover.xml"/>
<text outputFile="php://stdout" showUncoveredFiles="false"/>
</report>
</coverage>
<listeners>
<listener class="Tests\IntegrationTestListener" />
</listeners>
<php>
<env name="APP_ENV" value="testing"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="QUEUE_CONNECTION" value="sync"/>
</php>
</phpunit>