-
Notifications
You must be signed in to change notification settings - Fork 27
/
phpunit.xml
224 lines (218 loc) · 10.4 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
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
<?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"
convertDeprecationsToExceptions="false"
>
<testsuites>
<!-- All Unit tests (can be run without database connection etc.) -->
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit/</directory>
</testsuite>
<!-- All integration tests -->
<testsuite name="Integration">
<directory suffix="Test.php">./tests/Integration/</directory>
</testsuite>
<!--Test suite for all legacy code-->
<testsuite name="Legacy">
<directory suffix="Test.php">./tests/*/Legacy</directory>
</testsuite>
<!--Test suites for components-->
<testsuite name="Components/Backup">
<directory suffix="Test.php">./tests/*/Components/Backup</directory>
</testsuite>
<testsuite name="Components/Barcode">
<directory suffix="Test.php">./tests/*/Components/Barcode</directory>
</testsuite>
<testsuite name="Components/Database">
<directory suffix="Test.php">./tests/*/Components/Database</directory>
</testsuite>
<testsuite name="Components/EnvironmentConfig">
<directory suffix="Test.php">./tests/*/Components/EnvironmentConfig</directory>
</testsuite>
<testsuite name="Components/Exporter">
<directory suffix="Test.php">./tests/*/Components/Exporter</directory>
</testsuite>
<testsuite name="Components/Http">
<directory suffix="Test.php">./tests/*/Components/Http</directory>
</testsuite>
<testsuite name="Components/HttpClient">
<directory suffix="Test.php">./tests/*/Components/HttpClient</directory>
</testsuite>
<testsuite name="Components/Logger">
<directory suffix="Test.php">./tests/*/Components/Logger</directory>
</testsuite>
<testsuite name="Components/MailClient">
<directory suffix="Test.php">./tests/*/Components/MailClient</directory>
</testsuite>
<testsuite name="Components/Pdf">
<directory suffix="Test.php">./tests/*/Components/Pdf</directory>
</testsuite>
<testsuite name="Components/Mailer">
<directory suffix="Test.php">./tests/*/Components/Mailer</directory>
</testsuite>
<testsuite name="Components/Sanitizer">
<directory suffix="Test.php">./tests/*/Components/Sanitizer</directory>
</testsuite>
<testsuite name="Components/SchemaCreator">
<directory suffix="Test.php">./tests/*/Components/SchemaCreator</directory>
</testsuite>
<testsuite name="Components/Token">
<directory suffix="Test.php">./tests/*/Components/Token</directory>
</testsuite>
<testsuite name="Components/Util">
<directory suffix="Test.php">./tests/*/Components/Util</directory>
</testsuite>
<!--Test suites for modules-->
<testsuite name="Modules/Api">
<directory suffix="Test.php">./tests/*/Modules/Api</directory>
</testsuite>
<testsuite name="Modules/ApiAccount">
<directory suffix="Test.php">./tests/*/Modules/ApiAccount</directory>
</testsuite>
<testsuite name="Modules/Article">
<directory suffix="Test.php">./tests/*/Modules/Article</directory>
</testsuite>
<testsuite name="Modules/Backup">
<directory suffix="Test.php">./tests/*/Modules/Backup</directory>
</testsuite>
<testsuite name="Modules/CalDav">
<directory suffix="Test.php">./tests/*/Modules/CalDav</directory>
</testsuite>
<testsuite name="Modules/Calendar">
<directory suffix="Test.php">./tests/*/Modules/Calendar</directory>
</testsuite>
<testsuite name="Modules/Country">
<directory suffix="Test.php">./tests/*/Modules/Country</directory>
</testsuite>
<testsuite name="Modules/Datanorm">
<directory suffix="Test.php">./tests/*/Modules/Datanorm</directory>
</testsuite>
<testsuite name="Modules/DatevApi">
<directory suffix="Test.php">./tests/*/Modules/DatevApi</directory>
</testsuite>
<testsuite name="Modules/DemoExporter">
<directory suffix="Test.php">./tests/*/Modules/DemoExporter</directory>
</testsuite>
<testsuite name="Modules/Ebay">
<directory suffix="Test.php">./tests/*/Modules/Ebay</directory>
</testsuite>
<testsuite name="Modules/EtsyApi">
<directory suffix="Test.php">./tests/*/Modules/EtsyApi</directory>
</testsuite>
<testsuite name="Modules/FiskalyApi">
<directory suffix="Test.php">./tests/*/Modules/FiskalyApi</directory>
</testsuite>
<testsuite name="Modules/GoogleApi">
<directory suffix="Test.php">./tests/*/Modules/GoogleApi</directory>
</testsuite>
<testsuite name="Modules/GoogleCalendar">
<directory suffix="Test.php">./tests/*/Modules/GoogleCalendar</directory>
</testsuite>
<testsuite name="Modules/HocrParser">
<directory suffix="Test.php">./tests/*/Modules/HocrParser</directory>
</testsuite>
<testsuite name="Modules/Hubspot">
<directory suffix="Test.php">./tests/*/Modules/Hubspot</directory>
</testsuite>
<testsuite name="Modules/Log">
<directory suffix="Test.php">./tests/*/Modules/Log</directory>
</testsuite>
<testsuite name="Modules/MandatoryFields">
<directory suffix="Test.php">./tests/*/Modules/MandatoryFields</directory>
</testsuite>
<testsuite name="Modules/Onlineshop">
<directory suffix="Test.php">./tests/*/Modules/Onlineshop</directory>
</testsuite>
<testsuite name="Modules/PaymentMethod">
<directory suffix="Test.php">./tests/*/Modules/PaymentMethod</directory>
</testsuite>
<testsuite name="Modules/Pipedrive">
<directory suffix="Test.php">./tests/*/Modules/Pipedrive</directory>
</testsuite>
<testsuite name="Modules/Report">
<directory suffix="Test.php">./tests/*/Modules/Report</directory>
</testsuite>
<testsuite name="Modules/Resubmission">
<directory suffix="Test.php">./tests/*/Modules/Resubmission</directory>
</testsuite>
<testsuite name="Modules/ShopimporterAmazon">
<directory suffix="Test.php">./tests/*/Modules/ShopimporterAmazon</directory>
</testsuite>
<testsuite name="Modules/SubscriptionCycle">
<directory suffix="Test.php">./tests/*/Modules/SubscriptionCycle</directory>
</testsuite>
<testsuite name="Modules/SystemConfig">
<directory suffix="Test.php">./tests/*/Modules/SystemConfig</directory>
</testsuite>
<testsuite name="Modules/SuperSearch">
<directory suffix="Test.php">./tests/*/Modules/SuperSearch</directory>
</testsuite>
<testsuite name="Modules/RetailPriceTemplate">
<directory suffix="Test.php">./tests/*/Modules/RetailPriceTemplate</directory>
</testsuite>
<testsuite name="Modules/SystemMailClient">
<directory suffix="Test.php">./tests/*/Modules/SystemMailClient</directory>
</testsuite>
<testsuite name="Modules/SystemMailer">
<directory suffix="Test.php">./tests/*/Modules/SystemMailer</directory>
</testsuite>
<testsuite name="Modules/SystemTemplates">
<directory suffix="Test.php">./tests/*/Modules/SystemTemplates</directory>
</testsuite>
<testsuite name="Modules/Ticket">
<directory suffix="Test.php">./tests/*/Modules/Ticket</directory>
</testsuite>
<testsuite name="Modules/TimeManagement">
<directory suffix="Test.php">./tests/*/Modules/TimeManagement</directory>
</testsuite>
<testsuite name="Modules/TOTPLogin">
<directory suffix="Test.php">./tests/*/Modules/TOTPLogin</directory>
</testsuite>
<testsuite name="Modules/TransferSmartyTemplate">
<directory suffix="Test.php">./tests/*/Modules/TransferSmartyTemplate</directory>
</testsuite>
<testsuite name="Modules/User">
<directory suffix="Test.php">./tests/*/Modules/User</directory>
</testsuite>
<testsuite name="Modules/AmazonVendorDF">
<directory suffix="Test.php">./tests/*/Modules/AmazonVendorDF</directory>
</testsuite>
<testsuite name="Modules/PartialDelivery">
<directory suffix="Test.php">./tests/*/Modules/PartialDelivery</directory>
</testsuite>
<testsuite name="Modules/CopperSurcharge">
<directory suffix="Test.php">./tests/*/Modules/CopperSurcharge</directory>
</testsuite>
<!--Test suites for widgets-->
<testsuite name="Widgets/ClickByClickAssistant">
<directory suffix="Test.php">./tests/*/Widgets/ClickByClickAssistant</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./classes/Components/Util</directory>
<directory suffix=".php">./classes/Modules/PartialDelivery</directory>
<directory suffix=".php">./classes/Modules/AmazonVendorDF</directory>
<directory suffix=".php">./classes/Components/Logger</directory>
<directory suffix=".php">./classes/Modules/Ebay</directory>
<file>./www/lib/dokumente/class.briefpapier.php</file>
<exclude>
<directory suffix="Bootstrap.php">./classes</directory>
<directory suffix=".php">./classes/Components/Barcode/TcPdf</directory>
</exclude>
</whitelist>
</filter>
<php>
<server name="APP_ENV" value="testing"/>
<!-- <server name="DB_HOST" value="127.0.0.1"/>-->
<!-- <server name="DB_PORT" value="3306"/>-->
<!-- <server name="DB_USER" value="root"/>-->
<!-- <server name="DB_PASSWORD" value="password"/>-->
<!-- <server name="DB_NAME" value="test_db"/>-->
</php>
<logging>
<log type="testdox-text" target="php://stdout" />
</logging>
</phpunit>