1 |
efrain |
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
2 |
<phpunit
|
|
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
4 |
xsi:noNamespaceSchemaLocation="lib/phpunit/phpunit.xsd"
|
|
|
5 |
bootstrap="lib/phpunit/bootstrap.php"
|
|
|
6 |
convertErrorsToExceptions="true"
|
|
|
7 |
convertNoticesToExceptions="true"
|
|
|
8 |
convertWarningsToExceptions="true"
|
|
|
9 |
processIsolation="false"
|
|
|
10 |
backupGlobals="false"
|
|
|
11 |
backupStaticAttributes="false"
|
|
|
12 |
cacheResult="false"
|
|
|
13 |
stopOnError="false"
|
|
|
14 |
stopOnFailure="false"
|
|
|
15 |
stopOnIncomplete="false"
|
|
|
16 |
stopOnSkipped="false"
|
|
|
17 |
beStrictAboutTestsThatDoNotTestAnything="false"
|
|
|
18 |
beStrictAboutOutputDuringTests="true"
|
|
|
19 |
>
|
|
|
20 |
|
|
|
21 |
<php>
|
|
|
22 |
<!--<const name="PHPUNIT_LONGTEST" value="1"/> uncomment to execute also slow or otherwise expensive tests-->
|
|
|
23 |
<const name="PHPUNIT_SEQUENCE_START" value=""/>
|
|
|
24 |
|
|
|
25 |
<!--Following constants instruct tests to fetch external test files from alternative location
|
|
|
26 |
or skip tests if empty, clone https://github.com/moodlehq/moodle-exttests to local web server-->
|
|
|
27 |
<!--<const name="TEST_EXTERNAL_FILES_HTTP_URL" value="http://download.moodle.org/unittest"/>
|
|
|
28 |
uncomment and alter to fetch external test files from alternative location-->
|
|
|
29 |
<!--<const name="TEST_EXTERNAL_FILES_HTTPS_URL" value="https://download.moodle.org/unittest"/>
|
|
|
30 |
uncomment and alter to fetch external test files from alternative location-->
|
|
|
31 |
</php>
|
|
|
32 |
|
|
|
33 |
<!--All core suites need to be manually added here-->
|
|
|
34 |
|
|
|
35 |
<testsuites>
|
|
|
36 |
<testsuite name="core_phpunit_testsuite">
|
|
|
37 |
<directory suffix="_test.php">lib/phpunit/tests</directory>
|
|
|
38 |
</testsuite>
|
|
|
39 |
<testsuite name="core_test_testsuite">
|
|
|
40 |
<directory suffix="_test.php">lib/testing/tests</directory>
|
|
|
41 |
</testsuite>
|
|
|
42 |
<testsuite name="core_ddl_testsuite">
|
|
|
43 |
<directory suffix="_test.php">lib/ddl/tests</directory>
|
|
|
44 |
</testsuite>
|
|
|
45 |
<testsuite name="core_dml_testsuite">
|
|
|
46 |
<directory suffix="_test.php">lib/dml/tests</directory>
|
|
|
47 |
</testsuite>
|
|
|
48 |
<testsuite name="core_testsuite">
|
|
|
49 |
<directory suffix="_test.php">lib/tests</directory>
|
|
|
50 |
<!-- <directory suffix="_test.php">lib/ajax/tests</directory> -->
|
|
|
51 |
</testsuite>
|
|
|
52 |
<testsuite name="core_external_testsuite">
|
|
|
53 |
<directory suffix="_test.php">lib/external/tests</directory>
|
|
|
54 |
</testsuite>
|
|
|
55 |
<testsuite name="core_favourites_testsuite">
|
|
|
56 |
<directory suffix="_test.php">favourites/tests</directory>
|
|
|
57 |
</testsuite>
|
|
|
58 |
<testsuite name="core_form_testsuite">
|
|
|
59 |
<directory suffix="_test.php">lib/form/tests</directory>
|
|
|
60 |
</testsuite>
|
|
|
61 |
<testsuite name="core_files_testsuite">
|
|
|
62 |
<directory suffix="_test.php">lib/filestorage/tests</directory>
|
|
|
63 |
<directory suffix="_test.php">lib/filebrowser/tests</directory>
|
|
|
64 |
<directory suffix="_test.php">files/tests</directory>
|
|
|
65 |
</testsuite>
|
|
|
66 |
<testsuite name="core_filter_testsuite">
|
|
|
67 |
<directory suffix="_test.php">filter/tests</directory>
|
|
|
68 |
</testsuite>
|
|
|
69 |
<testsuite name="core_role_testsuite">
|
|
|
70 |
<directory suffix="_test.php">admin/roles/tests</directory>
|
|
|
71 |
</testsuite>
|
|
|
72 |
<testsuite name="core_cohort_testsuite">
|
|
|
73 |
<directory suffix="_test.php">cohort/tests</directory>
|
|
|
74 |
</testsuite>
|
|
|
75 |
<testsuite name="core_grades_testsuite">
|
|
|
76 |
<directory suffix="_test.php">lib/grade/tests</directory>
|
|
|
77 |
<directory suffix="_test.php">grade/tests</directory>
|
|
|
78 |
<directory suffix="_test.php">grade/grading/tests</directory>
|
|
|
79 |
<directory suffix="_test.php">grade/import/csv/tests</directory>
|
|
|
80 |
</testsuite>
|
|
|
81 |
<testsuite name="core_analytics_testsuite">
|
|
|
82 |
<directory suffix="_test.php">analytics/tests</directory>
|
|
|
83 |
</testsuite>
|
|
|
84 |
<testsuite name="core_availability_testsuite">
|
|
|
85 |
<directory suffix="_test.php">availability/tests</directory>
|
|
|
86 |
</testsuite>
|
|
|
87 |
<testsuite name="core_backup_testsuite">
|
|
|
88 |
<directory suffix="_test.php">backup/controller/tests</directory>
|
|
|
89 |
<directory suffix="_test.php">backup/converter/moodle1/tests</directory>
|
|
|
90 |
<directory suffix="_test.php">backup/moodle2/tests</directory>
|
|
|
91 |
<directory suffix="_test.php">backup/tests</directory>
|
|
|
92 |
<directory suffix="_test.php">backup/util</directory>
|
|
|
93 |
</testsuite>
|
|
|
94 |
<testsuite name="core_badges_testsuite">
|
|
|
95 |
<directory suffix="_test.php">badges/tests</directory>
|
|
|
96 |
</testsuite>
|
|
|
97 |
<testsuite name="core_blog_testsuite">
|
|
|
98 |
<directory suffix="_test.php">blog/tests</directory>
|
|
|
99 |
</testsuite>
|
|
|
100 |
<testsuite name="core_customfield_testsuite">
|
|
|
101 |
<directory suffix="_test.php">customfield/tests</directory>
|
|
|
102 |
</testsuite>
|
|
|
103 |
<testsuite name="core_iplookup_testsuite">
|
|
|
104 |
<directory suffix="_test.php">iplookup/tests</directory>
|
|
|
105 |
</testsuite>
|
|
|
106 |
<testsuite name="core_course_testsuite">
|
|
|
107 |
<directory suffix="_test.php">course/tests</directory>
|
|
|
108 |
</testsuite>
|
|
|
109 |
<testsuite name="core_courseformat_testsuite">
|
|
|
110 |
<directory suffix="_test.php">course/format/tests</directory>
|
|
|
111 |
</testsuite>
|
|
|
112 |
<testsuite name="core_privacy_testsuite">
|
|
|
113 |
<directory suffix="_test.php">privacy/tests</directory>
|
|
|
114 |
</testsuite>
|
|
|
115 |
<testsuite name="core_question_testsuite">
|
|
|
116 |
<directory suffix="_test.php">question/engine/tests</directory>
|
|
|
117 |
<directory suffix="_test.php">question/tests</directory>
|
|
|
118 |
<directory suffix="_test.php">question/type/tests</directory>
|
|
|
119 |
<directory suffix="_test.php">question/engine/upgrade/tests</directory>
|
|
|
120 |
</testsuite>
|
|
|
121 |
<testsuite name="core_cache_testsuite">
|
|
|
122 |
<directory suffix="_test.php">cache/tests</directory>
|
|
|
123 |
</testsuite>
|
|
|
124 |
<testsuite name="core_calendar_testsuite">
|
|
|
125 |
<directory suffix="_test.php">calendar/tests</directory>
|
|
|
126 |
</testsuite>
|
|
|
127 |
<testsuite name="core_enrol_testsuite">
|
|
|
128 |
<directory suffix="_test.php">enrol/tests</directory>
|
|
|
129 |
</testsuite>
|
|
|
130 |
<testsuite name="core_group_testsuite">
|
|
|
131 |
<directory suffix="_test.php">group/tests</directory>
|
|
|
132 |
</testsuite>
|
|
|
133 |
<testsuite name="core_message_testsuite">
|
|
|
134 |
<directory suffix="_test.php">message/tests</directory>
|
|
|
135 |
</testsuite>
|
|
|
136 |
<testsuite name="core_notes_testsuite">
|
|
|
137 |
<directory suffix="_test.php">notes/tests</directory>
|
|
|
138 |
</testsuite>
|
|
|
139 |
<testsuite name="core_tag_testsuite">
|
|
|
140 |
<directory suffix="_test.php">tag/tests</directory>
|
|
|
141 |
</testsuite>
|
|
|
142 |
<testsuite name="core_rating_testsuite">
|
|
|
143 |
<directory suffix="_test.php">rating/tests</directory>
|
|
|
144 |
</testsuite>
|
|
|
145 |
<testsuite name="core_repository_testsuite">
|
|
|
146 |
<directory suffix="_test.php">repository/tests</directory>
|
|
|
147 |
</testsuite>
|
|
|
148 |
<testsuite name="core_userkey_testsuite">
|
|
|
149 |
<directory suffix="_test.php">lib/userkey/tests</directory>
|
|
|
150 |
</testsuite>
|
|
|
151 |
<testsuite name="core_user_testsuite">
|
|
|
152 |
<directory suffix="_test.php">user/tests</directory>
|
|
|
153 |
</testsuite>
|
|
|
154 |
<testsuite name="core_webservice_testsuite">
|
|
|
155 |
<directory suffix="_test.php">webservice/tests</directory>
|
|
|
156 |
</testsuite>
|
|
|
157 |
<testsuite name="core_mnet_testsuite">
|
|
|
158 |
<directory suffix="_test.php">mnet/tests</directory>
|
|
|
159 |
</testsuite>
|
|
|
160 |
<testsuite name="core_completion_testsuite">
|
|
|
161 |
<directory suffix="_test.php">completion/tests</directory>
|
|
|
162 |
</testsuite>
|
|
|
163 |
<testsuite name="core_comment_testsuite">
|
|
|
164 |
<directory suffix="_test.php">comment/tests</directory>
|
|
|
165 |
</testsuite>
|
|
|
166 |
<testsuite name="core_search_testsuite">
|
|
|
167 |
<directory suffix="_test.php">search/tests</directory>
|
|
|
168 |
</testsuite>
|
|
|
169 |
<testsuite name="core_competency_testsuite">
|
|
|
170 |
<directory suffix="_test.php">competency/tests</directory>
|
|
|
171 |
</testsuite>
|
|
|
172 |
<testsuite name="core_my_testsuite">
|
|
|
173 |
<directory suffix="_test.php">my/tests</directory>
|
|
|
174 |
</testsuite>
|
|
|
175 |
<testsuite name="core_auth_testsuite">
|
|
|
176 |
<directory suffix="_test.php">auth/tests</directory>
|
|
|
177 |
</testsuite>
|
|
|
178 |
<testsuite name="core_block_testsuite">
|
|
|
179 |
<directory suffix="_test.php">blocks/tests</directory>
|
|
|
180 |
</testsuite>
|
|
|
181 |
<testsuite name="core_login_testsuite">
|
|
|
182 |
<directory suffix="_test.php">login/tests</directory>
|
|
|
183 |
</testsuite>
|
|
|
184 |
<testsuite name="core_plagiarism_testsuite">
|
|
|
185 |
<directory suffix="_test.php">plagiarism/tests</directory>
|
|
|
186 |
</testsuite>
|
|
|
187 |
<testsuite name="core_portfolio_testsuite">
|
|
|
188 |
<directory suffix="_test.php">portfolio/tests</directory>
|
|
|
189 |
</testsuite>
|
|
|
190 |
<testsuite name="core_editor_testsuite">
|
|
|
191 |
<directory suffix="_test.php">lib/editor/tests</directory>
|
|
|
192 |
</testsuite>
|
|
|
193 |
<testsuite name="core_rss_testsuite">
|
|
|
194 |
<directory suffix="_test.php">rss/tests</directory>
|
|
|
195 |
</testsuite>
|
|
|
196 |
<testsuite name="core_table_testsuite">
|
|
|
197 |
<directory suffix="_test.php">lib/table/tests</directory>
|
|
|
198 |
</testsuite>
|
|
|
199 |
<testsuite name="core_h5p_testsuite">
|
|
|
200 |
<directory suffix="_test.php">h5p/tests</directory>
|
|
|
201 |
</testsuite>
|
|
|
202 |
<testsuite name="core_xapi_testsuite">
|
|
|
203 |
<directory suffix="_test.php">lib/xapi/tests</directory>
|
|
|
204 |
</testsuite>
|
|
|
205 |
<testsuite name="core_contentbank_testsuite">
|
|
|
206 |
<directory suffix="_test.php">contentbank/tests</directory>
|
|
|
207 |
</testsuite>
|
|
|
208 |
<testsuite name="core_payment_testsuite">
|
|
|
209 |
<directory suffix="_test.php">payment/tests</directory>
|
|
|
210 |
</testsuite>
|
|
|
211 |
<testsuite name="core_reportbuilder_testsuite">
|
|
|
212 |
<directory suffix="_test.php">reportbuilder/tests</directory>
|
|
|
213 |
</testsuite>
|
|
|
214 |
<testsuite name="core_adminpresets_testsuite">
|
|
|
215 |
<directory suffix="_test.php">admin/presets/tests</directory>
|
|
|
216 |
</testsuite>
|
|
|
217 |
<testsuite name="core_admin_testsuite">
|
|
|
218 |
<directory suffix="_test.php">admin/tests</directory>
|
|
|
219 |
</testsuite>
|
|
|
220 |
<testsuite name="core_communication_testsuite">
|
|
|
221 |
<directory suffix="_test.php">communication/tests</directory>
|
|
|
222 |
</testsuite>
|
|
|
223 |
|
|
|
224 |
<!--Plugin suites: use admin/tool/phpunit/cli/util.php to build phpunit.xml from
|
|
|
225 |
phpunit.xml.dist with up-to-date list of plugins in current install-->
|
|
|
226 |
|
|
|
227 |
<!--@plugin_suites_start@-->
|
|
|
228 |
<!--@plugin_suites_end@-->
|
|
|
229 |
</testsuites>
|
|
|
230 |
|
|
|
231 |
<coverage>
|
|
|
232 |
<!--@coveragelist@-->
|
|
|
233 |
</coverage>
|
|
|
234 |
|
|
|
235 |
</phpunit>
|