1 <?xml version=
"1.0" encoding=
"UTF-8"?>
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"
11 backupStaticAttributes=
"false"
14 stopOnIncomplete=
"false"
16 printerClass=
"Hint_ResultPrinter"
17 testSuiteLoaderClass=
"phpunit_autoloader"
21 <!--<const name="PHPUNIT_LONGTEST" value="1"/> uncomment to execute also slow or otherwise expensive tests-->
22 <const name=
"PHPUNIT_SEQUENCE_START" value=
""/>
24 <!--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-->
25 <!--<const name="TEST_EXTERNAL_FILES_HTTP_URL" value="http://download.moodle.org/unittest"/> uncomment and alter to fetch external test files from alternative location-->
26 <!--<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 <!--All core suites need to be manually added here-->
32 <testsuite name=
"core_phpunit_testsuite">
33 <directory suffix=
"_test.php">lib/phpunit/tests
</directory>
35 <testsuite name=
"core_test_testsuite">
36 <directory suffix=
"_test.php">lib/testing/tests
</directory>
38 <testsuite name=
"core_ddl_testsuite">
39 <directory suffix=
"_test.php">lib/ddl/tests
</directory>
41 <testsuite name=
"core_dml_testsuite">
42 <directory suffix=
"_test.php">lib/dml/tests
</directory>
44 <testsuite name=
"core_testsuite">
45 <directory suffix=
"_test.php">lib/tests
</directory>
46 <directory suffix=
"_test.php">lib/ajax/tests
</directory>
47 <directory>lib/password_compat/tests
</directory>
49 <testsuite name=
"core_form_testsuite">
50 <directory suffix=
"_test.php">lib/form/tests
</directory>
52 <testsuite name=
"core_files_testsuite">
53 <directory suffix=
"_test.php">lib/filestorage/tests
</directory>
54 <directory suffix=
"_test.php">files/tests
</directory>
56 <testsuite name=
"core_role_testsuite">
57 <directory suffix=
"_test.php">admin/roles/tests
</directory>
59 <testsuite name=
"core_cohort_testsuite">
60 <directory suffix=
"_test.php">cohort/tests
</directory>
62 <testsuite name=
"core_grade_testsuite">
63 <directory suffix=
"_test.php">lib/grade/tests
</directory>
64 <directory suffix=
"_test.php">grade/tests
</directory>
65 <directory suffix=
"_test.php">grade/grading/tests
</directory>
66 <directory suffix=
"_test.php">grade/import/csv/tests
</directory>
68 <testsuite name=
"core_availability_testsuite">
69 <directory suffix=
"_test.php">availability/tests
</directory>
71 <testsuite name=
"core_backup_testsuite">
72 <directory suffix=
"_test.php">backup/controller/tests
</directory>
73 <directory suffix=
"_test.php">backup/converter/moodle1/tests
</directory>
74 <directory suffix=
"_test.php">backup/moodle2/tests
</directory>
75 <directory suffix=
"_test.php">backup/util
</directory>
77 <testsuite name=
"core_badges_testsuite">
78 <directory suffix=
"_test.php">badges/tests
</directory>
80 <testsuite name=
"core_blog_testsuite">
81 <directory suffix=
"_test.php">blog/tests
</directory>
83 <testsuite name=
"core_iplookup_testsuite">
84 <directory suffix=
"_test.php">iplookup/tests
</directory>
86 <testsuite name=
"core_course_testsuite">
87 <directory suffix=
"_test.php">course/tests
</directory>
89 <testsuite name=
"core_question_testsuite">
90 <directory suffix=
"_test.php">question/engine/tests
</directory>
91 <directory suffix=
"_test.php">question/tests
</directory>
92 <directory suffix=
"_test.php">question/type/tests
</directory>
93 <directory suffix=
"_test.php">question/engine/upgrade/tests
</directory>
95 <testsuite name=
"core_cache_testsuite">
96 <directory suffix=
"_test.php">cache/tests
</directory>
98 <testsuite name=
"core_calendar_testsuite">
99 <directory suffix=
"_test.php">calendar/tests
</directory>
101 <testsuite name=
"core_enrol_testsuite">
102 <directory suffix=
"_test.php">enrol/tests
</directory>
104 <testsuite name=
"core_group_testsuite">
105 <directory suffix=
"_test.php">group/tests
</directory>
107 <testsuite name=
"core_external_testsuite">
108 <directory suffix=
"_test.php">lib/external/tests
</directory>
110 <testsuite name=
"core_message_testsuite">
111 <directory suffix=
"_test.php">message/tests
</directory>
113 <testsuite name=
"core_notes_testsuite">
114 <directory suffix=
"_test.php">notes/tests
</directory>
116 <testsuite name=
"core_tag_testsuite">
117 <directory suffix=
"_test.php">tag/tests
</directory>
119 <testsuite name=
"core_rating_testsuite">
120 <directory suffix=
"_test.php">rating/tests
</directory>
122 <testsuite name=
"core_repository_testsuite">
123 <directory suffix=
"_test.php">repository/tests
</directory>
125 <testsuite name=
"core_user_testsuite">
126 <directory suffix=
"_test.php">user/tests
</directory>
128 <testsuite name=
"core_webservice_testsuite">
129 <directory suffix=
"_test.php">webservice/tests
</directory>
131 <testsuite name=
"core_mnet_testsuite">
132 <directory suffix=
"_test.php">mnet/tests
</directory>
134 <testsuite name=
"core_completion_testsuite">
135 <directory suffix=
"_test.php">completion/tests
</directory>
137 <testsuite name=
"core_comment_testsuite">
138 <directory suffix=
"_test.php">comment/tests
</directory>
141 <!--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-->
142 <!--@plugin_suites_start@-->
143 <!--@plugin_suites_end@-->