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" | |
16 | strict="false" | |
ed7259d1 | 17 | printerClass="Hint_ResultPrinter" |
d44e0aa3 | 18 | testSuiteLoaderClass="phpunit_autoloader" |
5bd40408 PS |
19 | > |
20 | ||
1d4d115a PS |
21 | <php> |
22 | <!--<const name="PHPUNIT_LONGTEST" value="1"/> uncomment to execute also slow or otherwise expensive tests--> | |
ddffa9d6 | 23 | <const name="PHPUNIT_SEQUENCE_START" value=""/> |
a9d2f1b4 PS |
24 | |
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--> | |
1d4d115a PS |
28 | </php> |
29 | ||
7aea08e1 | 30 | <!--All core suites need to be manually added here--> |
5bd40408 PS |
31 | |
32 | <testsuites> | |
3c4b599d | 33 | <testsuite name="core_phpunit_testsuite"> |
08ad3257 PS |
34 | <directory suffix="_test.php">lib/phpunit/tests</directory> |
35 | </testsuite> | |
3c4b599d | 36 | <testsuite name="core_test_testsuite"> |
5c3c2c81 DM |
37 | <directory suffix="_test.php">lib/testing/tests</directory> |
38 | </testsuite> | |
3c4b599d | 39 | <testsuite name="core_ddl_testsuite"> |
fe11e694 | 40 | <directory suffix="_test.php">lib/ddl/tests</directory> |
8252b7c2 | 41 | </testsuite> |
3c4b599d | 42 | <testsuite name="core_dml_testsuite"> |
fe11e694 PS |
43 | <directory suffix="_test.php">lib/dml/tests</directory> |
44 | </testsuite> | |
3c4b599d | 45 | <testsuite name="core_testsuite"> |
5bd40408 | 46 | <directory suffix="_test.php">lib/tests</directory> |
a3d5830a | 47 | <directory suffix="_test.php">lib/ajax/tests</directory> |
ec2d8ceb | 48 | <directory>lib/password_compat/tests</directory> |
a3d5830a | 49 | </testsuite> |
3c4b599d | 50 | <testsuite name="core_form_testsuite"> |
1eb13556 PS |
51 | <directory suffix="_test.php">lib/form/tests</directory> |
52 | </testsuite> | |
3c4b599d | 53 | <testsuite name="core_files_testsuite"> |
8f110835 | 54 | <directory suffix="_test.php">lib/filestorage/tests</directory> |
11f20be7 | 55 | <directory suffix="_test.php">files/tests</directory> |
8f110835 | 56 | </testsuite> |
3c4b599d | 57 | <testsuite name="core_role_testsuite"> |
5e72efd4 PS |
58 | <directory suffix="_test.php">admin/roles/tests</directory> |
59 | </testsuite> | |
3c4b599d | 60 | <testsuite name="core_cohort_testsuite"> |
4729332b PS |
61 | <directory suffix="_test.php">cohort/tests</directory> |
62 | </testsuite> | |
3c4b599d | 63 | <testsuite name="core_grade_testsuite"> |
948d46da PS |
64 | <directory suffix="_test.php">lib/grade/tests</directory> |
65 | <directory suffix="_test.php">grade/tests</directory> | |
66 | <directory suffix="_test.php">grade/grading/tests</directory> | |
c3ba8429 | 67 | <directory suffix="_test.php">grade/import/csv/tests</directory> |
948d46da | 68 | </testsuite> |
3c4b599d | 69 | <testsuite name="core_availability_testsuite"> |
d3db4b03 | 70 | <directory suffix="_test.php">availability/tests</directory> |
71 | </testsuite> | |
3c4b599d | 72 | <testsuite name="core_backup_testsuite"> |
dbf5a447 PS |
73 | <directory suffix="_test.php">backup/controller/tests</directory> |
74 | <directory suffix="_test.php">backup/converter/moodle1/tests</directory> | |
d3db4b03 | 75 | <directory suffix="_test.php">backup/moodle2/tests</directory> |
dbf5a447 PS |
76 | <directory suffix="_test.php">backup/util</directory> |
77 | </testsuite> | |
3c4b599d | 78 | <testsuite name="core_badges_testsuite"> |
27806552 YB |
79 | <directory suffix="_test.php">badges/tests</directory> |
80 | </testsuite> | |
3c4b599d | 81 | <testsuite name="core_blog_testsuite"> |
1cbf2a20 PS |
82 | <directory suffix="_test.php">blog/tests</directory> |
83 | </testsuite> | |
3c4b599d | 84 | <testsuite name="core_iplookup_testsuite"> |
64b0f3ab PS |
85 | <directory suffix="_test.php">iplookup/tests</directory> |
86 | </testsuite> | |
3c4b599d | 87 | <testsuite name="core_course_testsuite"> |
354b214c PS |
88 | <directory suffix="_test.php">course/tests</directory> |
89 | </testsuite> | |
3c4b599d | 90 | <testsuite name="core_question_testsuite"> |
603bd001 PS |
91 | <directory suffix="_test.php">question/engine/tests</directory> |
92 | <directory suffix="_test.php">question/tests</directory> | |
93 | <directory suffix="_test.php">question/type/tests</directory> | |
b3778a0d | 94 | <directory suffix="_test.php">question/engine/upgrade/tests</directory> |
603bd001 | 95 | </testsuite> |
3c4b599d | 96 | <testsuite name="core_cache_testsuite"> |
d6a1f63b SH |
97 | <directory suffix="_test.php">cache/tests</directory> |
98 | </testsuite> | |
3c4b599d | 99 | <testsuite name="core_calendar_testsuite"> |
644a7ef7 AA |
100 | <directory suffix="_test.php">calendar/tests</directory> |
101 | </testsuite> | |
3c4b599d | 102 | <testsuite name="core_enrol_testsuite"> |
b3778a0d DP |
103 | <directory suffix="_test.php">enrol/tests</directory> |
104 | </testsuite> | |
3c4b599d | 105 | <testsuite name="core_group_testsuite"> |
b3778a0d DP |
106 | <directory suffix="_test.php">group/tests</directory> |
107 | </testsuite> | |
3c4b599d | 108 | <testsuite name="core_external_testsuite"> |
b3778a0d DP |
109 | <directory suffix="_test.php">lib/external/tests</directory> |
110 | </testsuite> | |
3c4b599d | 111 | <testsuite name="core_message_testsuite"> |
b3778a0d DP |
112 | <directory suffix="_test.php">message/tests</directory> |
113 | </testsuite> | |
3c4b599d | 114 | <testsuite name="core_notes_testsuite"> |
b3778a0d DP |
115 | <directory suffix="_test.php">notes/tests</directory> |
116 | </testsuite> | |
3c4b599d | 117 | <testsuite name="core_tag_testsuite"> |
cc033d48 MN |
118 | <directory suffix="_test.php">tag/tests</directory> |
119 | </testsuite> | |
3c4b599d | 120 | <testsuite name="core_rating_testsuite"> |
b3778a0d DP |
121 | <directory suffix="_test.php">rating/tests</directory> |
122 | </testsuite> | |
3c4b599d | 123 | <testsuite name="core_repository_testsuite"> |
b3778a0d DP |
124 | <directory suffix="_test.php">repository/tests</directory> |
125 | </testsuite> | |
3c4b599d | 126 | <testsuite name="core_user_testsuite"> |
b3778a0d DP |
127 | <directory suffix="_test.php">user/tests</directory> |
128 | </testsuite> | |
3c4b599d | 129 | <testsuite name="core_webservice_testsuite"> |
b3778a0d DP |
130 | <directory suffix="_test.php">webservice/tests</directory> |
131 | </testsuite> | |
3c4b599d | 132 | <testsuite name="core_mnet_testsuite"> |
b34f6f5f DW |
133 | <directory suffix="_test.php">mnet/tests</directory> |
134 | </testsuite> | |
5bd40408 | 135 | |
a3d5830a | 136 | <!--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 |
137 | <!--@plugin_suites_start@--> |
138 | <!--@plugin_suites_end@--> | |
5bd40408 | 139 | |
a3d5830a PS |
140 | </testsuites> |
141 | ||
5bd40408 | 142 | </phpunit> |