-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml.dist
137 lines (131 loc) · 5.24 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<?xml version="1.0" encoding="UTF-8"?>
<!--
! phpunit.xml.dist
!
! XML configuration file for the unit testing framework "PHPUnit".
!
! This program is free software: you can redistribute it and/or modify it under
! the terms of the GNU Lesser General Public License as published by the Free
! Software Foundation, either version 3 of the License, or (at your option) any
! later version.
!
! This program is distributed in the hope that it will be useful, but WITHOUT
! ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
! FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
! details.
!
! You should have received a copy of the GNU Lesser General Public License
! along with this program. If not, see <http://gnu.org/licenses/lgpl.txt>.
!
! Author: Florian Wolters <[email protected]>
! Copyright: 2011-2014 Florian Wolters
! License: http://gnu.org/licenses/lgpl.txt LGPL-3.0+
! Link: http://github.com/FlorianWolters/PHP-Component-Core-Cloneable
!-->
<!--
! The attributes of the <phpunit> element can be used to configure PHPUnit's
! core functionality.
!-->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
cacheTokens="true"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
forceCoversAnnotation="false"
mapTestClassNameToCoveredClassName="true"
printerClass="PHPUnit_TextUI_ResultPrinter"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
timeoutForSmallTests="1"
timeoutForMediumTests="10"
timeoutForLargeTests="60"
strict="true"
verbose="false">
<!--
! The <testsuites> element and its one or more <testsuite> children can be
! used to compose a test suite out of test suites and test cases.
!-->
<testsuites>
<testsuite name="Default Test Suite">
<directory>src/test/php</directory>
</testsuite>
</testsuites>
<!--
! The <filter> element and its children can be used to configure the
! blacklist and whitelist for the code coverage reporting.
!-->
<filter>
<blacklist>
<directory suffix=".php">vendor</directory>
<directory suffix=".php">src/test</directory>
</blacklist>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src/main/php</directory>
<exclude>
<directory suffix="Enum.php">src/main/php</directory>
<directory suffix="Exception.php">src/main/php</directory>
<directory suffix="Interface.php">src/main/php</directory>
</exclude>
</whitelist>
</filter>
<!--
! The <logging> element and its <log> children can be used to configure the
! logging of the test execution.
!-->
<logging>
<log type="coverage-clover" target="review/phpcov/coverage.xml" />
<log type="coverage-html"
target="review/phpcov/coverage"
showUncoveredFiles="true"
charset="UTF-8"
yui="true"
highlight="true"
lowUpperBound="35"
highLowerBound="70" />
<log type="coverage-php"
target="review/phpcov/coverage.serialized"
showUncoveredFiles="true" />
<log type="coverage-text"
target="review/phpcov/coverage.txt"
showUncoveredFiles="true" />
<log type="json" target="review/phpunit/phpunit.json" />
<log type="junit"
target="review/phpunit/junit.xml"
logIncompleteSkipped="true" />
<log type="tap" target="review/phpunit/phpunit.tap" />
<log type="testdox-html" target="review/phpunit/testdox.html" />
<log type="testdox-text" target="review/phpunit/testdox.txt" />
</logging>
<!--
! The <php> element and its children can be used to configure PHP settings,
! constants, and global variables. It can also be used to prepend the
! include_path.
! -->
<php>
<ini name="error_reporting" value="-1" />
<ini name="display_errors" value="1" />
<ini name="display_startup_errors" value="1" />
<ini name="log_errors" value="On" />
<ini name="log_errors_max_len" value="0" />
<ini name="ignore_repeated_errors" value="0" />
<ini name="ignore_repeated_source" value="0" />
<ini name="report_memleaks" value="1" />
<ini name="track_errors" value="1" />
<ini name="html_errors" value="0" />
<ini name="xmlrpc_errors" value="0" />
<ini name="xmlrpc_error_number" value="0" />
<ini name="docref_root" value=".php" />
<ini name="error_prepend_string" value="" />
<ini name="error_append_string" value="" />
<ini name="memory_limit" value="1024M" />
<ini name="short_open_tag" value="0" />
</php>
</phpunit>