Commit | Line | Data |
---|---|---|
6aaae357 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
5bd40408 | 2 | <phpunit |
6aaae357 PS |
3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | xsi:noNamespaceSchemaLocation="lib/phpunit/phpunit.xsd" | |
5bd40408 | 5 | bootstrap="lib/phpunit/bootstrap.php" |
5bd40408 PS |
6 | convertErrorsToExceptions="true" |
7 | convertNoticesToExceptions="true" | |
8 | convertWarningsToExceptions="true" | |
9 | processIsolation="false" | |
10 | backupGlobals="false" | |
11 | backupStaticAttributes="false" | |
12 | stopOnError="false" | |
13 | stopOnFailure="false" | |
14 | stopOnIncomplete="false" | |
15 | stopOnSkipped="false" | |
6be1923d | 16 | beStrictAboutTestsThatDoNotTestAnything="false" |
33dca945 | 17 | beStrictAboutOutputDuringTests="true" |
ed7259d1 | 18 | printerClass="Hint_ResultPrinter" |
d44e0aa3 | 19 | testSuiteLoaderClass="phpunit_autoloader" |
5bd40408 PS |
20 | > |
21 | ||
1d4d115a PS |
22 | <php> |
23 | <!--<const name="PHPUNIT_LONGTEST" value="1"/> uncomment to execute also slow or otherwise expensive tests--> | |
ddffa9d6 | 24 | <const name="PHPUNIT_SEQUENCE_START" value=""/> |
a9d2f1b4 PS |
25 | |
26 | <!--Following constants instruct tests to fetch external test files from alternative location 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"/> uncomment and alter to fetch external test files from alternative location--> | |
28 | <!--<const name="TEST_EXTERNAL_FILES_HTTPS_URL" value="https://download.moodle.org/unittest"/> uncomment and alter to fetch external test files from alternative location--> | |
1d4d115a PS |
29 | </php> |
30 | ||
7aea08e1 | 31 | <!--All core suites need to be manually added here--> |
5bd40408 PS |
32 | |
33 | <testsuites> | |
3c4b599d | 34 | <testsuite name="core_phpunit_testsuite"> |
08ad3257 PS |
35 | <directory suffix="_test.php">lib/phpunit/tests</directory> |
36 | </testsuite> | |
3c4b599d | 37 | <testsuite name="core_test_testsuite"> |
5c3c2c81 DM |
38 | <directory suffix="_test.php">lib/testing/tests</directory> |
39 | </testsuite> | |
3c4b599d | 40 | <testsuite name="core_ddl_testsuite"> |
fe11e694 | 41 | <directory suffix="_test.php">lib/ddl/tests</directory> |
8252b7c2 | 42 | </testsuite> |
3c4b599d | 43 | <testsuite name="core_dml_testsuite"> |
fe11e694 PS |
44 | <directory suffix="_test.php">lib/dml/tests</directory> |
45 | </testsuite> | |
3c4b599d | 46 | <testsuite name="core_testsuite"> |
5bd40408 | 47 | <directory suffix="_test.php">lib/tests</directory> |
a3d5830a | 48 | <directory suffix="_test.php">lib/ajax/tests</directory> |
a3d5830a | 49 | </testsuite> |
4fca5dab JD |
50 | <testsuite name="core_favourites_testsuite"> |
51 | <directory suffix="_test.php">favourites/tests</directory> | |
52 | </testsuite> | |
3c4b599d | 53 | <testsuite name="core_form_testsuite"> |
1eb13556 PS |
54 | <directory suffix="_test.php">lib/form/tests</directory> |
55 | </testsuite> | |
3c4b599d | 56 | <testsuite name="core_files_testsuite"> |
8f110835 | 57 | <directory suffix="_test.php">lib/filestorage/tests</directory> |
68b99890 | 58 | <directory suffix="_test.php">lib/filebrowser/tests</directory> |
11f20be7 | 59 | <directory suffix="_test.php">files/tests</directory> |
8f110835 | 60 | </testsuite> |
52f6f487 JP |
61 | <testsuite name="core_filter_testsuite"> |
62 | <directory suffix="_test.php">filter/tests</directory> | |
63 | </testsuite> | |
3c4b599d | 64 | <testsuite name="core_role_testsuite"> |
5e72efd4 PS |
65 | <directory suffix="_test.php">admin/roles/tests</directory> |
66 | </testsuite> | |
3c4b599d | 67 | <testsuite name="core_cohort_testsuite"> |
4729332b PS |
68 | <directory suffix="_test.php">cohort/tests</directory> |
69 | </testsuite> | |
bfdeae2a | 70 | <testsuite name="core_grades_testsuite"> |
948d46da PS |
71 | <directory suffix="_test.php">lib/grade/tests</directory> |
72 | <directory suffix="_test.php">grade/tests</directory> | |
73 | <directory suffix="_test.php">grade/grading/tests</directory> | |
c3ba8429 | 74 | <directory suffix="_test.php">grade/import/csv/tests</directory> |
948d46da | 75 | </testsuite> |
38346308 DM |
76 | <testsuite name="core_analytics_testsuite"> |
77 | <directory suffix="_test.php">analytics/tests</directory> | |
78 | </testsuite> | |
3c4b599d | 79 | <testsuite name="core_availability_testsuite"> |
d3db4b03 | 80 | <directory suffix="_test.php">availability/tests</directory> |
81 | </testsuite> | |
3c4b599d | 82 | <testsuite name="core_backup_testsuite"> |
dbf5a447 PS |
83 | <directory suffix="_test.php">backup/controller/tests</directory> |
84 | <directory suffix="_test.php">backup/converter/moodle1/tests</directory> | |
d3db4b03 | 85 | <directory suffix="_test.php">backup/moodle2/tests</directory> |
0f41e8a2 | 86 | <directory suffix="_test.php">backup/tests</directory> |
dbf5a447 PS |
87 | <directory suffix="_test.php">backup/util</directory> |
88 | </testsuite> | |
3c4b599d | 89 | <testsuite name="core_badges_testsuite"> |
27806552 YB |
90 | <directory suffix="_test.php">badges/tests</directory> |
91 | </testsuite> | |
3c4b599d | 92 | <testsuite name="core_blog_testsuite"> |
1cbf2a20 PS |
93 | <directory suffix="_test.php">blog/tests</directory> |
94 | </testsuite> | |
0e367a11 MG |
95 | <testsuite name="core_customfield_testsuite"> |
96 | <directory suffix="_test.php">customfield/tests</directory> | |
97 | </testsuite> | |
3c4b599d | 98 | <testsuite name="core_iplookup_testsuite"> |
64b0f3ab PS |
99 | <directory suffix="_test.php">iplookup/tests</directory> |
100 | </testsuite> | |
3c4b599d | 101 | <testsuite name="core_course_testsuite"> |
354b214c PS |
102 | <directory suffix="_test.php">course/tests</directory> |
103 | </testsuite> | |
dcc16e15 AN |
104 | <testsuite name="core_privacy_testsuite"> |
105 | <directory suffix="_test.php">privacy/tests</directory> | |
106 | </testsuite> | |
3c4b599d | 107 | <testsuite name="core_question_testsuite"> |
603bd001 PS |
108 | <directory suffix="_test.php">question/engine/tests</directory> |
109 | <directory suffix="_test.php">question/tests</directory> | |
110 | <directory suffix="_test.php">question/type/tests</directory> | |
b3778a0d | 111 | <directory suffix="_test.php">question/engine/upgrade/tests</directory> |
603bd001 | 112 | </testsuite> |
3c4b599d | 113 | <testsuite name="core_cache_testsuite"> |
d6a1f63b SH |
114 | <directory suffix="_test.php">cache/tests</directory> |
115 | </testsuite> | |
3c4b599d | 116 | <testsuite name="core_calendar_testsuite"> |
644a7ef7 AA |
117 | <directory suffix="_test.php">calendar/tests</directory> |
118 | </testsuite> | |
3c4b599d | 119 | <testsuite name="core_enrol_testsuite"> |
b3778a0d DP |
120 | <directory suffix="_test.php">enrol/tests</directory> |
121 | </testsuite> | |
3c4b599d | 122 | <testsuite name="core_group_testsuite"> |
b3778a0d DP |
123 | <directory suffix="_test.php">group/tests</directory> |
124 | </testsuite> | |
3c4b599d | 125 | <testsuite name="core_external_testsuite"> |
b3778a0d DP |
126 | <directory suffix="_test.php">lib/external/tests</directory> |
127 | </testsuite> | |
3c4b599d | 128 | <testsuite name="core_message_testsuite"> |
b3778a0d DP |
129 | <directory suffix="_test.php">message/tests</directory> |
130 | </testsuite> | |
3c4b599d | 131 | <testsuite name="core_notes_testsuite"> |
b3778a0d DP |
132 | <directory suffix="_test.php">notes/tests</directory> |
133 | </testsuite> | |
3c4b599d | 134 | <testsuite name="core_tag_testsuite"> |
cc033d48 MN |
135 | <directory suffix="_test.php">tag/tests</directory> |
136 | </testsuite> | |
3c4b599d | 137 | <testsuite name="core_rating_testsuite"> |
b3778a0d DP |
138 | <directory suffix="_test.php">rating/tests</directory> |
139 | </testsuite> | |
3c4b599d | 140 | <testsuite name="core_repository_testsuite"> |
b3778a0d DP |
141 | <directory suffix="_test.php">repository/tests</directory> |
142 | </testsuite> | |
81626948 AN |
143 | <testsuite name="core_userkey_testsuite"> |
144 | <directory suffix="_test.php">lib/userkey/tests</directory> | |
145 | </testsuite> | |
3c4b599d | 146 | <testsuite name="core_user_testsuite"> |
b3778a0d DP |
147 | <directory suffix="_test.php">user/tests</directory> |
148 | </testsuite> | |
3c4b599d | 149 | <testsuite name="core_webservice_testsuite"> |
b3778a0d DP |
150 | <directory suffix="_test.php">webservice/tests</directory> |
151 | </testsuite> | |
3c4b599d | 152 | <testsuite name="core_mnet_testsuite"> |
b34f6f5f DW |
153 | <directory suffix="_test.php">mnet/tests</directory> |
154 | </testsuite> | |
37ccb211 DP |
155 | <testsuite name="core_completion_testsuite"> |
156 | <directory suffix="_test.php">completion/tests</directory> | |
157 | </testsuite> | |
ffe1579b JL |
158 | <testsuite name="core_comment_testsuite"> |
159 | <directory suffix="_test.php">comment/tests</directory> | |
160 | </testsuite> | |
db48207e DM |
161 | <testsuite name="core_search_testsuite"> |
162 | <directory suffix="_test.php">search/tests</directory> | |
163 | </testsuite> | |
922634d3 FM |
164 | <testsuite name="core_competency_testsuite"> |
165 | <directory suffix="_test.php">competency/tests</directory> | |
166 | </testsuite> | |
286a391b DM |
167 | <testsuite name="core_my_testsuite"> |
168 | <directory suffix="_test.php">my/tests</directory> | |
169 | </testsuite> | |
a4c970ff RT |
170 | <testsuite name="core_auth_testsuite"> |
171 | <directory suffix="_test.php">auth/tests</directory> | |
172 | </testsuite> | |
8446ba36 JL |
173 | <testsuite name="core_block_testsuite"> |
174 | <directory suffix="_test.php">blocks/tests</directory> | |
175 | </testsuite> | |
64755ee8 JP |
176 | <testsuite name="core_login_testsuite"> |
177 | <directory suffix="_test.php">login/tests</directory> | |
178 | </testsuite> | |
1c2d8c7f EL |
179 | <testsuite name="core_plagiarism_testsuite"> |
180 | <directory suffix="_test.php">plagiarism/tests</directory> | |
181 | </testsuite> | |
ceb2167d AN |
182 | <testsuite name="core_portfolio_testsuite"> |
183 | <directory suffix="_test.php">portfolio/tests</directory> | |
184 | </testsuite> | |
06dbe955 EL |
185 | <testsuite name="core_editor_testsuite"> |
186 | <directory suffix="_test.php">lib/editor/tests</directory> | |
187 | </testsuite> | |
37543ce5 DM |
188 | <testsuite name="core_rss_testsuite"> |
189 | <directory suffix="_test.php">rss/tests</directory> | |
190 | </testsuite> | |
1142e1bc AN |
191 | <testsuite name="core_table_testsuite"> |
192 | <directory suffix="_test.php">lib/table/tests</directory> | |
193 | </testsuite> | |
60bd7a80 SA |
194 | <testsuite name="core_h5p_testsuite"> |
195 | <directory suffix="_test.php">h5p/tests</directory> | |
196 | </testsuite> | |
0a832fa1 FR |
197 | <testsuite name="core_xapi_testsuite"> |
198 | <directory suffix="_test.php">lib/xapi/tests</directory> | |
199 | </testsuite> | |
bd4e0a76 AA |
200 | <testsuite name="core_contentbank_testsuite"> |
201 | <directory suffix="_test.php">contentbank/tests</directory> | |
202 | </testsuite> | |
5bd40408 | 203 | |
a3d5830a | 204 | <!--Plugin suites: use admin/tool/phpunit/cli/util.php to build phpunit.xml from phpunit.xml.dist with up-to-date list of plugins in current install--> |
7aea08e1 SH |
205 | <!--@plugin_suites_start@--> |
206 | <!--@plugin_suites_end@--> | |
5bd40408 | 207 | |
a3d5830a | 208 | </testsuites> |
0970aa10 AN |
209 | <filter> |
210 | <!--@filterlist@--> | |
211 | </filter> | |
a3d5830a | 212 | |
5bd40408 | 213 | </phpunit> |