Moodle release 3.4rc2
[moodle.git] / phpunit.xml.dist
blob963f63cdfb44b37d25ba5302c2df2b1003f8496f
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 printerClass="Hint_ResultPrinter"
18 testSuiteLoaderClass="phpunit_autoloader"
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=""/>
25 <!--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-->
26 <!--<const name="TEST_EXTERNAL_FILES_HTTP_URL" value="http://download.moodle.org/unittest"/> uncomment and alter to fetch external test files from alternative location-->
27 <!--<const name="TEST_EXTERNAL_FILES_HTTPS_URL" value="https://download.moodle.org/unittest"/> uncomment and alter to fetch external test files from alternative location-->
28 </php>
30 <!--All core suites need to be manually added here-->
32 <testsuites>
33 <testsuite name="core_phpunit_testsuite">
34 <directory suffix="_test.php">lib/phpunit/tests</directory>
35 </testsuite>
36 <testsuite name="core_test_testsuite">
37 <directory suffix="_test.php">lib/testing/tests</directory>
38 </testsuite>
39 <testsuite name="core_ddl_testsuite">
40 <directory suffix="_test.php">lib/ddl/tests</directory>
41 </testsuite>
42 <testsuite name="core_dml_testsuite">
43 <directory suffix="_test.php">lib/dml/tests</directory>
44 </testsuite>
45 <testsuite name="core_testsuite">
46 <directory suffix="_test.php">lib/tests</directory>
47 <directory suffix="_test.php">lib/ajax/tests</directory>
48 </testsuite>
49 <testsuite name="core_form_testsuite">
50 <directory suffix="_test.php">lib/form/tests</directory>
51 </testsuite>
52 <testsuite name="core_files_testsuite">
53 <directory suffix="_test.php">lib/filestorage/tests</directory>
54 <directory suffix="_test.php">lib/filebrowser/tests</directory>
55 <directory suffix="_test.php">files/tests</directory>
56 </testsuite>
57 <testsuite name="core_filter_testsuite">
58 <directory suffix="_test.php">filter/tests</directory>
59 </testsuite>
60 <testsuite name="core_role_testsuite">
61 <directory suffix="_test.php">admin/roles/tests</directory>
62 </testsuite>
63 <testsuite name="core_cohort_testsuite">
64 <directory suffix="_test.php">cohort/tests</directory>
65 </testsuite>
66 <testsuite name="core_grade_testsuite">
67 <directory suffix="_test.php">lib/grade/tests</directory>
68 <directory suffix="_test.php">grade/tests</directory>
69 <directory suffix="_test.php">grade/grading/tests</directory>
70 <directory suffix="_test.php">grade/import/csv/tests</directory>
71 </testsuite>
72 <testsuite name="core_analytics_testsuite">
73 <directory suffix="_test.php">analytics/tests</directory>
74 </testsuite>
75 <testsuite name="core_availability_testsuite">
76 <directory suffix="_test.php">availability/tests</directory>
77 </testsuite>
78 <testsuite name="core_backup_testsuite">
79 <directory suffix="_test.php">backup/controller/tests</directory>
80 <directory suffix="_test.php">backup/converter/moodle1/tests</directory>
81 <directory suffix="_test.php">backup/moodle2/tests</directory>
82 <directory suffix="_test.php">backup/util</directory>
83 </testsuite>
84 <testsuite name="core_badges_testsuite">
85 <directory suffix="_test.php">badges/tests</directory>
86 </testsuite>
87 <testsuite name="core_blog_testsuite">
88 <directory suffix="_test.php">blog/tests</directory>
89 </testsuite>
90 <testsuite name="core_iplookup_testsuite">
91 <directory suffix="_test.php">iplookup/tests</directory>
92 </testsuite>
93 <testsuite name="core_course_testsuite">
94 <directory suffix="_test.php">course/tests</directory>
95 </testsuite>
96 <testsuite name="core_question_testsuite">
97 <directory suffix="_test.php">question/engine/tests</directory>
98 <directory suffix="_test.php">question/tests</directory>
99 <directory suffix="_test.php">question/type/tests</directory>
100 <directory suffix="_test.php">question/engine/upgrade/tests</directory>
101 </testsuite>
102 <testsuite name="core_cache_testsuite">
103 <directory suffix="_test.php">cache/tests</directory>
104 </testsuite>
105 <testsuite name="core_calendar_testsuite">
106 <directory suffix="_test.php">calendar/tests</directory>
107 </testsuite>
108 <testsuite name="core_enrol_testsuite">
109 <directory suffix="_test.php">enrol/tests</directory>
110 </testsuite>
111 <testsuite name="core_group_testsuite">
112 <directory suffix="_test.php">group/tests</directory>
113 </testsuite>
114 <testsuite name="core_external_testsuite">
115 <directory suffix="_test.php">lib/external/tests</directory>
116 </testsuite>
117 <testsuite name="core_message_testsuite">
118 <directory suffix="_test.php">message/tests</directory>
119 </testsuite>
120 <testsuite name="core_notes_testsuite">
121 <directory suffix="_test.php">notes/tests</directory>
122 </testsuite>
123 <testsuite name="core_tag_testsuite">
124 <directory suffix="_test.php">tag/tests</directory>
125 </testsuite>
126 <testsuite name="core_rating_testsuite">
127 <directory suffix="_test.php">rating/tests</directory>
128 </testsuite>
129 <testsuite name="core_repository_testsuite">
130 <directory suffix="_test.php">repository/tests</directory>
131 </testsuite>
132 <testsuite name="core_user_testsuite">
133 <directory suffix="_test.php">user/tests</directory>
134 </testsuite>
135 <testsuite name="core_webservice_testsuite">
136 <directory suffix="_test.php">webservice/tests</directory>
137 </testsuite>
138 <testsuite name="core_mnet_testsuite">
139 <directory suffix="_test.php">mnet/tests</directory>
140 </testsuite>
141 <testsuite name="core_completion_testsuite">
142 <directory suffix="_test.php">completion/tests</directory>
143 </testsuite>
144 <testsuite name="core_comment_testsuite">
145 <directory suffix="_test.php">comment/tests</directory>
146 </testsuite>
147 <testsuite name="core_search_testsuite">
148 <directory suffix="_test.php">search/tests</directory>
149 </testsuite>
150 <testsuite name="core_competency_testsuite">
151 <directory suffix="_test.php">competency/tests</directory>
152 </testsuite>
153 <testsuite name="core_my_testsuite">
154 <directory suffix="_test.php">my/tests</directory>
155 </testsuite>
156 <testsuite name="core_auth_testsuite">
157 <directory suffix="_test.php">auth/tests</directory>
158 </testsuite>
159 <testsuite name="core_block_testsuite">
160 <directory suffix="_test.php">blocks/tests</directory>
161 </testsuite>
162 <testsuite name="core_login_testsuite">
163 <directory suffix="_test.php">login/tests</directory>
164 </testsuite>
166 <!--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-->
167 <!--@plugin_suites_start@-->
168 <!--@plugin_suites_end@-->
170 </testsuites>
172 </phpunit>