-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
62 lines (62 loc) · 2.6 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
cacheResult="true"
backupGlobals="false"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
backupStaticAttributes="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
verbose="true">
<testsuites>
<testsuite name="Domain">
<directory suffix="Test.php">./app/Domain</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
<testsuite name="Unit/Support">
<directory suffix="Test.php">./tests/Unit/Support</directory>
</testsuite>
<testsuite name="Unit/Commands">
<directory suffix="Test.php">./tests/Unit/Commands</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./app</directory>
</include>
<exclude>
<directory suffix="blade.php">./app</directory>
<directory suffix=".php">./app/Core/Http</directory>
<directory suffix=".php">./app/Core/Models</directory>
<directory suffix=".php">./app/Core/Providers</directory>
<directory suffix=".php">./app/Core/Exceptions</directory>
<directory suffix=".php">./app/Core/ConsoleKernel.php</directory>
<directory suffix="Test.php">./app/Domain</directory>
<directory suffix=".php">./app/Support/Contracts</directory>
<directory suffix=".php">./app/Domain/*/Database/Migrations</directory>
</exclude>
<report>
<text outputFile="php:https://stdout"/>
<clover outputFile="report/clover-coverage.xml"/>
<html outputDirectory="report/html-coverage"/>
<!-- <xml outputDirectory="report/xml-coverage"/> -->
</report>
</coverage>
<logging>
<testdoxText outputFile="php:https://stdout"/>
<testdoxHtml outputFile="report/logging-testdox.html"/>
<!-- @see https://marmelab.com/phpunit-d3-report/ -->
<!-- <junit outputFile="logging/junit.xml"/> -->
</logging>
<php>
<env name="APP_ENV" value="testing" force="true"/>
</php>
</phpunit>