-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit-single.xml
41 lines (39 loc) · 1.42 KB
/
phpunit-single.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
<?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"
verbose="true"
colors="true"
stopOnError="true"
stopOnFailure="true"
beStrictAboutOutputDuringTests="true"
>
<testsuites>
<testsuite name="My App Unit Tests">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="My App Integration Tests">
<directory suffix="Test.php">./tests/Integration</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./app</directory>
</include>
<exclude>
<directory suffix=".php">./app/Providers</directory>
<directory suffix=".php">./app/Http/Middleware</directory>
<file>./app/Http/Kernel.php</file>
<file>./app/Http/Controllers/Controller.php</file>
<file>./app/Exceptions/Handler.php</file>
<file>./app/Console/Kernel.php</file>
</exclude>
<report>
<html outputDirectory="dev/reports/tests/"
lowUpperBound="35" highLowerBound="80" />
</report>
</coverage>
<php>
<server name="APP_ENV" value="testing"/>
</php>
</phpunit>