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