-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml
56 lines (56 loc) · 2.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
47
48
49
50
51
52
53
54
55
56
<?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/yepwoo/laragine/src/autoload.php"
colors="true"
>
<testsuites>
<testsuite name="Unit">
<directory suffix=".php">./core/*/Tests/Unit</directory>
<directory suffix=".php">./core/*/Tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix=".php">./core/*/Tests/Feature</directory>
<directory suffix=".php">./plugins/*/Tests/Feature</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./core</directory>
<directory suffix=".php">./plugins</directory>
</include>
<exclude>
<directory suffix=".blade.php">./</directory>
<directory suffix="web.php">./core</directory>
<directory suffix="api.php">./core</directory>
<directory suffix="helpers.php">./core</directory>
<directory suffix="ModuleServiceProvider.php">./core</directory>
<file>./core/Base/Traits/Response/SendResponse.php</file>
<file>./core/Base/Traits/Model/Uuid.php</file>
<directory>./core/*/config</directory>
<directory>./core/*/database/migrations/</directory>
<directory>./core/*/database/factories</directory>
<directory>./core/*/database/seeds</directory>
<directory>./core/Base/Traits/ServiceProvider</directory>
<directory>./core/Base/Logging</directory>
<directory>./core/Base/Middleware</directory>
<directory>./core/*/Requests</directory>
<directory>./core/*/Resources</directory>
</exclude>
<report>
<clover outputFile="./ci/codeCoverage/codeCoverage.xml"/>
<html outputDirectory="./ci/codeCoverage/" lowUpperBound="50" highLowerBound="90"/>
</report>
</coverage>
<php>
<server name="APP_ENV" value="testing"/>
<server name="BCRYPT_ROUNDS" value="4"/>
<server name="CACHE_DRIVER" 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>