Merge branch 'MDL-62663' of https://github.com/andrewhancox/moodle
[moodle.git] / phpunit.xml.dist
blob8cc36edb6b37beb198fc64f7cc61e754c497f990
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 stopOnError="false"
13 stopOnFailure="false"
14 stopOnIncomplete="false"
15 stopOnSkipped="false"
16 beStrictAboutTestsThatDoNotTestAnything="false"
17 beStrictAboutOutputDuringTests="true"
18 printerClass="Hint_ResultPrinter"
19 testSuiteLoaderClass="phpunit_autoloader"
22 <php>
23 <!--<const name="PHPUNIT_LONGTEST" value="1"/> uncomment to execute also slow or otherwise expensive tests-->
24 <const name="PHPUNIT_SEQUENCE_START" value=""/>
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-->
29 </php>
31 <!--All core suites need to be manually added here-->
33 <testsuites>
34 <testsuite name="core_phpunit_testsuite">
35 <directory suffix="_test.php">lib/phpunit/tests</directory>
36 </testsuite>
37 <testsuite name="core_test_testsuite">
38 <directory suffix="_test.php">lib/testing/tests</directory>
39 </testsuite>
40 <testsuite name="core_ddl_testsuite">
41 <directory suffix="_test.php">lib/ddl/tests</directory>
42 </testsuite>
43 <testsuite name="core_dml_testsuite">
44 <directory suffix="_test.php">lib/dml/tests</directory>
45 </testsuite>
46 <testsuite name="core_testsuite">
47 <directory suffix="_test.php">lib/tests</directory>
48 <directory suffix="_test.php">lib/ajax/tests</directory>
49 </testsuite>
50 <testsuite name="core_form_testsuite">
51 <directory suffix="_test.php">lib/form/tests</directory>
52 </testsuite>
53 <testsuite name="core_files_testsuite">
54 <directory suffix="_test.php">lib/filestorage/tests</directory>
55 <directory suffix="_test.php">lib/filebrowser/tests</directory>
56 <directory suffix="_test.php">files/tests</directory>
57 </testsuite>
58 <testsuite name="core_filter_testsuite">
59 <directory suffix="_test.php">filter/tests</directory>
60 </testsuite>
61 <testsuite name="core_role_testsuite">
62 <directory suffix="_test.php">admin/roles/tests</directory>
63 </testsuite>
64 <testsuite name="core_cohort_testsuite">
65 <directory suffix="_test.php">cohort/tests</directory>
66 </testsuite>
67 <testsuite name="core_grade_testsuite">
68 <directory suffix="_test.php">lib/grade/tests</directory>
69 <directory suffix="_test.php">grade/tests</directory>
70 <directory suffix="_test.php">grade/grading/tests</directory>
71 <directory suffix="_test.php">grade/import/csv/tests</directory>
72 </testsuite>
73 <testsuite name="core_analytics_testsuite">
74 <directory suffix="_test.php">analytics/tests</directory>
75 </testsuite>
76 <testsuite name="core_availability_testsuite">
77 <directory suffix="_test.php">availability/tests</directory>
78 </testsuite>
79 <testsuite name="core_backup_testsuite">
80 <directory suffix="_test.php">backup/controller/tests</directory>
81 <directory suffix="_test.php">backup/converter/moodle1/tests</directory>
82 <directory suffix="_test.php">backup/moodle2/tests</directory>
83 <directory suffix="_test.php">backup/tests</directory>
84 <directory suffix="_test.php">backup/util</directory>
85 </testsuite>
86 <testsuite name="core_badges_testsuite">
87 <directory suffix="_test.php">badges/tests</directory>
88 </testsuite>
89 <testsuite name="core_blog_testsuite">
90 <directory suffix="_test.php">blog/tests</directory>
91 </testsuite>
92 <testsuite name="core_iplookup_testsuite">
93 <directory suffix="_test.php">iplookup/tests</directory>
94 </testsuite>
95 <testsuite name="core_course_testsuite">
96 <directory suffix="_test.php">course/tests</directory>
97 </testsuite>
98 <testsuite name="core_privacy_testsuite">
99 <directory suffix="_test.php">privacy/tests</directory>
100 </testsuite>
101 <testsuite name="core_question_testsuite">
102 <directory suffix="_test.php">question/engine/tests</directory>
103 <directory suffix="_test.php">question/tests</directory>
104 <directory suffix="_test.php">question/type/tests</directory>
105 <directory suffix="_test.php">question/engine/upgrade/tests</directory>
106 </testsuite>
107 <testsuite name="core_cache_testsuite">
108 <directory suffix="_test.php">cache/tests</directory>
109 </testsuite>
110 <testsuite name="core_calendar_testsuite">
111 <directory suffix="_test.php">calendar/tests</directory>
112 </testsuite>
113 <testsuite name="core_enrol_testsuite">
114 <directory suffix="_test.php">enrol/tests</directory>
115 </testsuite>
116 <testsuite name="core_group_testsuite">
117 <directory suffix="_test.php">group/tests</directory>
118 </testsuite>
119 <testsuite name="core_external_testsuite">
120 <directory suffix="_test.php">lib/external/tests</directory>
121 </testsuite>
122 <testsuite name="core_message_testsuite">
123 <directory suffix="_test.php">message/tests</directory>
124 </testsuite>
125 <testsuite name="core_notes_testsuite">
126 <directory suffix="_test.php">notes/tests</directory>
127 </testsuite>
128 <testsuite name="core_tag_testsuite">
129 <directory suffix="_test.php">tag/tests</directory>
130 </testsuite>
131 <testsuite name="core_rating_testsuite">
132 <directory suffix="_test.php">rating/tests</directory>
133 </testsuite>
134 <testsuite name="core_repository_testsuite">
135 <directory suffix="_test.php">repository/tests</directory>
136 </testsuite>
137 <testsuite name="core_userkey_testsuite">
138 <directory suffix="_test.php">lib/userkey/tests</directory>
139 </testsuite>
140 <testsuite name="core_user_testsuite">
141 <directory suffix="_test.php">user/tests</directory>
142 </testsuite>
143 <testsuite name="core_webservice_testsuite">
144 <directory suffix="_test.php">webservice/tests</directory>
145 </testsuite>
146 <testsuite name="core_mnet_testsuite">
147 <directory suffix="_test.php">mnet/tests</directory>
148 </testsuite>
149 <testsuite name="core_completion_testsuite">
150 <directory suffix="_test.php">completion/tests</directory>
151 </testsuite>
152 <testsuite name="core_comment_testsuite">
153 <directory suffix="_test.php">comment/tests</directory>
154 </testsuite>
155 <testsuite name="core_search_testsuite">
156 <directory suffix="_test.php">search/tests</directory>
157 </testsuite>
158 <testsuite name="core_competency_testsuite">
159 <directory suffix="_test.php">competency/tests</directory>
160 </testsuite>
161 <testsuite name="core_my_testsuite">
162 <directory suffix="_test.php">my/tests</directory>
163 </testsuite>
164 <testsuite name="core_auth_testsuite">
165 <directory suffix="_test.php">auth/tests</directory>
166 </testsuite>
167 <testsuite name="core_block_testsuite">
168 <directory suffix="_test.php">blocks/tests</directory>
169 </testsuite>
170 <testsuite name="core_login_testsuite">
171 <directory suffix="_test.php">login/tests</directory>
172 </testsuite>
173 <testsuite name="core_plagiarism_testsuite">
174 <directory suffix="_test.php">plagiarism/tests</directory>
175 </testsuite>
176 <testsuite name="core_portfolio_testsuite">
177 <directory suffix="_test.php">portfolio/tests</directory>
178 </testsuite>
179 <testsuite name="core_editor_testsuite">
180 <directory suffix="_test.php">lib/editor/tests</directory>
181 </testsuite>
182 <testsuite name="core_rss_testsuite">
183 <directory suffix="_test.php">rss/tests</directory>
184 </testsuite>
186 <!--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-->
187 <!--@plugin_suites_start@-->
188 <!--@plugin_suites_end@-->
190 </testsuites>
192 </phpunit>