forked from basemkhirat/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathphpunit.xml
More file actions
78 lines (78 loc) · 3.24 KB
/
Copy pathphpunit.xml
File metadata and controls
78 lines (78 loc) · 3.24 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
<?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"
executionOrder="depends,defects"
failOnWarning="true"
failOnRisky="true"
failOnEmptyTestSuite="true"
beStrictAboutOutputDuringTests="true"
timeoutForSmallTests="1"
timeoutForMediumTests="10"
timeoutForLargeTests="60">
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Integration">
<directory suffix="Test.php">./tests/Integration</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
<testsuite name="Legacy">
<directory suffix="Test.php">./tests</directory>
<exclude>./tests/Unit</exclude>
<exclude>./tests/Integration</exclude>
<exclude>./tests/Feature</exclude>
<exclude>./tests/Support</exclude>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
<exclude>
<directory>./src/pagination</directory>
<file>./src/helpers.php</file>
</exclude>
</source>
<coverage includeUncoveredFiles="true"
ignoreDeprecatedCodeUnits="true"
disableCodeCoverageIgnore="true">
<report>
<html outputDirectory="build/coverage/html-coverage" lowUpperBound="50" highLowerBound="90"/>
<clover outputFile="build/coverage/clover.xml"/>
<cobertura outputFile="build/coverage/cobertura.xml"/>
<crap4j outputFile="build/coverage/crap4j.xml" threshold="50"/>
<php outputFile="build/coverage/coverage.php"/>
<text outputFile="build/coverage/coverage.txt" showUncoveredFiles="false" showOnlySummary="true"/>
<xml outputDirectory="build/coverage/xml-coverage"/>
</report>
</coverage>
<logging>
<junit outputFile="build/logs/junit.xml"/>
<teamcity outputFile="build/logs/teamcity.txt"/>
<testdoxHtml outputFile="build/logs/testdox.html"/>
<testdoxText outputFile="build/logs/testdox.txt"/>
</logging>
<php>
<ini name="memory_limit" value="512M"/>
<ini name="error_reporting" value="-1"/>
<ini name="log_errors_max_len" value="0"/>
<ini name="zend.assertions" value="1"/>
<ini name="assert.exception" value="1"/>
<ini name="xdebug.show_exception_trace" value="0"/>
<server name="APP_ENV" value="testing"/>
<server name="BCRYPT_ROUNDS" value="4"/>
<server name="CACHE_DRIVER" value="array"/>
<server name="DB_CONNECTION" value="testing"/>
<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>