-
Notifications
You must be signed in to change notification settings - Fork 143
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
84 lines (80 loc) · 3.5 KB
/
phpunit.xml.dist
File metadata and controls
84 lines (80 loc) · 3.5 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?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"
processIsolation="false"
stopOnFailure="false"
cacheDirectory=".phpunit.cache"
backupGlobals="false"
beStrictAboutOutputDuringTests="true"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutTodoAnnotatedTests="true"
verbose="true"
>
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
<testsuite name="Architecture">
<directory suffix="Test.php">./tests/Arch</directory>
</testsuite>
<testsuite name="Browser">
<directory suffix="Test.php">./tests/Browser</directory>
</testsuite>
</testsuites>
<coverage includeUncoveredFiles="true" processUncoveredFiles="true" pathCoverage="true">
<include>
<directory suffix=".php">./app</directory>
</include>
<exclude>
<directory suffix=".php">./app/Console</directory>
<directory suffix=".php">./app/Http/Middleware</directory>
<directory suffix=".php">./app/Providers</directory>
<file>./app/Console/Kernel.php</file>
<file>./app/Exceptions/Handler.php</file>
<file>./app/Providers/AppServiceProvider.php</file>
<file>./app/Providers/AuthServiceProvider.php</file>
<file>./app/Providers/BroadcastServiceProvider.php</file>
<file>./app/Providers/EventServiceProvider.php</file>
<file>./app/Providers/RouteServiceProvider.php</file>
<file>./app/Providers/HorizonServiceProvider.php</file>
</exclude>
<report>
<html outputDirectory="build/coverage" lowUpperBound="50" highLowerBound="90"/>
<text outputFile="build/coverage.txt" showUncoveredFiles="true" showOnlySummary="false"/>
<clover outputFile="build/logs/clover.xml"/>
<crap4j outputFile="build/logs/crap4j.xml"/>
<phpcov outputFile="build/logs/phpcov.cov"/>
</report>
</coverage>
<logging>
<junit outputFile="build/report.junit.xml"/>
<teamcity outputFile="build/teamcity.txt"/>
</logging>
<source ignoreIndirectDeprecations="true" restrictNotices="true" restrictWarnings="true">
<include>
<directory suffix=".php">./app</directory>
</include>
<exclude>
<directory suffix=".php">./app/Console</directory>
<directory suffix=".php">./app/Http/Middleware</directory>
<directory suffix=".php">./app/Providers</directory>
</exclude>
</source>
<php>
<server name="APP_ENV" value="testing"/>
<server name="APP_MAINTENANCE_DRIVER" value="file"/>
<server name="BCRYPT_ROUNDS" value="4"/>
<server name="CACHE_STORE" value="array"/>
<server name="DB_CONNECTION" value="sqlite"/>
<server name="DB_DATABASE" value=":memory:"/>
<server name="MAIL_MAILER" value="array"/>
<server name="QUEUE_CONNECTION" value="sync"/>
<server name="SESSION_DRIVER" value="array"/>
<server name="TELESCOPE_ENABLED" value="false"/>
</php>
</phpunit>