This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.ci.xml
58 lines (53 loc) · 2.2 KB
/
phpunit.ci.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
57
58
<?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"
>
<testsuites>
<testsuite name="e2e">
<directory suffix="Test.php">./tests/e2e</directory>
</testsuite>
<testsuite name="integration">
<directory suffix="Test.php">./tests/integration</directory>
</testsuite>
<testsuite name="unit">
<directory suffix="Test.php">./tests/unit</directory>
</testsuite>
</testsuites>
<logging>
<testdoxText outputFile="_reports/README.txt"/>
<testdoxHtml outputFile="_reports/index.html"/>
<junit outputFile="_reports/phpunit-log.xml"/>
<teamcity outputFile="_reports/phpunit-teamcity.txt"/>
</logging>
<coverage cacheDirectory="tests/_reports/cache_coverage"
includeUncoveredFiles="true"
processUncoveredFiles="true"
pathCoverage="false"
ignoreDeprecatedCodeUnits="true"
disableCodeCoverageIgnore="true">
<report>
<html outputDirectory="_reports/coverage" lowUpperBound="50" highLowerBound="90"/>
<text outputFile="_reports/coverage.txt"/>
<clover outputFile="_reports/clover.xml"/>
</report>
<include>
<directory suffix=".php">routes</directory>
<directory suffix=".php">app/Http</directory>
<directory suffix=".php">app/Core</directory>
</include>
</coverage>
<php>
<env name="APP_ENV" value="testing"/>
<env name="APP_KEY" value="nU9ClNv41WWjjrFPFSkCvujzteHWJ9SN"/>
<env name="DB_CONNECTION_DOCTRINE" value="pdo_sqlite"/>
<env name="DB_CONNECTION" value="sqlite"/>
<env name="DB_HOST" value="localhost" />
<env name="DB_DATABASE" value=":memory:"/>
<env name="DB_USERNAME" value="elefanteca_user"/>
<env name="DB_PASSWORD" value="123"/>
<env name="JWT_KEY" value="uma_chave_muito_secreta123"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="QUEUE_CONNECTION" value="sync"/>
</php>
</phpunit>