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--> | |
a9d2f1b4 PS |
23 | |
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--> | |
1d4d115a PS |
27 | </php> |
28 | ||
7aea08e1 | 29 | <!--All core suites need to be manually added here--> |
5bd40408 PS |
30 | |
31 | <testsuites> | |
08ad3257 PS |
32 | <testsuite name="core_phpunit"> |
33 | <directory suffix="_test.php">lib/phpunit/tests</directory> | |
34 | </testsuite> | |
5c3c2c81 DM |
35 | <testsuite name="core_test"> |
36 | <directory suffix="_test.php">lib/testing/tests</directory> | |
37 | </testsuite> | |
8252b7c2 | 38 | <testsuite name="core_ddl"> |
fe11e694 | 39 | <directory suffix="_test.php">lib/ddl/tests</directory> |
8252b7c2 PS |
40 | </testsuite> |
41 | <testsuite name="core_dml"> | |
fe11e694 PS |
42 | <directory suffix="_test.php">lib/dml/tests</directory> |
43 | </testsuite> | |
8252b7c2 | 44 | <testsuite name="core"> |
5bd40408 | 45 | <directory suffix="_test.php">lib/tests</directory> |
a3d5830a | 46 | <directory suffix="_test.php">lib/ajax/tests</directory> |
ec2d8ceb | 47 | <directory>lib/password_compat/tests</directory> |
a3d5830a | 48 | </testsuite> |
1eb13556 PS |
49 | <testsuite name="core_form"> |
50 | <directory suffix="_test.php">lib/form/tests</directory> | |
51 | </testsuite> | |
8f110835 DM |
52 | <testsuite name="core_files"> |
53 | <directory suffix="_test.php">lib/filestorage/tests</directory> | |
11f20be7 | 54 | <directory suffix="_test.php">files/tests</directory> |
8f110835 | 55 | </testsuite> |
5e72efd4 PS |
56 | <testsuite name="core_role"> |
57 | <directory suffix="_test.php">admin/roles/tests</directory> | |
58 | </testsuite> | |
4729332b PS |
59 | <testsuite name="core_cohort"> |
60 | <directory suffix="_test.php">cohort/tests</directory> | |
61 | </testsuite> | |
948d46da PS |
62 | <testsuite name="core_grade"> |
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 | </testsuite> | |
d3db4b03 | 67 | <testsuite name="core_availability"> |
68 | <directory suffix="_test.php">availability/tests</directory> | |
69 | </testsuite> | |
dbf5a447 PS |
70 | <testsuite name="core_backup"> |
71 | <directory suffix="_test.php">backup/controller/tests</directory> | |
72 | <directory suffix="_test.php">backup/converter/moodle1/tests</directory> | |
d3db4b03 | 73 | <directory suffix="_test.php">backup/moodle2/tests</directory> |
dbf5a447 PS |
74 | <directory suffix="_test.php">backup/util</directory> |
75 | </testsuite> | |
27806552 YB |
76 | <testsuite name="core_badges"> |
77 | <directory suffix="_test.php">badges/tests</directory> | |
78 | </testsuite> | |
1cbf2a20 PS |
79 | <testsuite name="core_blog"> |
80 | <directory suffix="_test.php">blog/tests</directory> | |
81 | </testsuite> | |
64b0f3ab PS |
82 | <testsuite name="core_iplookup"> |
83 | <directory suffix="_test.php">iplookup/tests</directory> | |
84 | </testsuite> | |
354b214c PS |
85 | <testsuite name="core_course"> |
86 | <directory suffix="_test.php">course/tests</directory> | |
87 | </testsuite> | |
603bd001 PS |
88 | <testsuite name="core_question"> |
89 | <directory suffix="_test.php">question/engine/tests</directory> | |
90 | <directory suffix="_test.php">question/tests</directory> | |
91 | <directory suffix="_test.php">question/type/tests</directory> | |
b3778a0d | 92 | <directory suffix="_test.php">question/engine/upgrade/tests</directory> |
603bd001 | 93 | </testsuite> |
d6a1f63b SH |
94 | <testsuite name="core_cache"> |
95 | <directory suffix="_test.php">cache/tests</directory> | |
96 | </testsuite> | |
644a7ef7 AA |
97 | <testsuite name="core_calendar"> |
98 | <directory suffix="_test.php">calendar/tests</directory> | |
99 | </testsuite> | |
b3778a0d DP |
100 | <testsuite name="core_enrol"> |
101 | <directory suffix="_test.php">enrol/tests</directory> | |
102 | </testsuite> | |
103 | <testsuite name="core_group"> | |
104 | <directory suffix="_test.php">group/tests</directory> | |
105 | </testsuite> | |
106 | <testsuite name="core_external"> | |
107 | <directory suffix="_test.php">lib/external/tests</directory> | |
108 | </testsuite> | |
109 | <testsuite name="core_message"> | |
110 | <directory suffix="_test.php">message/tests</directory> | |
111 | </testsuite> | |
b3778a0d DP |
112 | <testsuite name="core_notes"> |
113 | <directory suffix="_test.php">notes/tests</directory> | |
114 | </testsuite> | |
cc033d48 MN |
115 | <testsuite name="core_tag"> |
116 | <directory suffix="_test.php">tag/tests</directory> | |
117 | </testsuite> | |
b3778a0d DP |
118 | <testsuite name="core_rating"> |
119 | <directory suffix="_test.php">rating/tests</directory> | |
120 | </testsuite> | |
121 | <testsuite name="core_repository"> | |
122 | <directory suffix="_test.php">repository/tests</directory> | |
123 | </testsuite> | |
124 | <testsuite name="core_user"> | |
125 | <directory suffix="_test.php">user/tests</directory> | |
126 | </testsuite> | |
127 | <testsuite name="core_webservice"> | |
128 | <directory suffix="_test.php">webservice/tests</directory> | |
129 | </testsuite> | |
b34f6f5f DW |
130 | <testsuite name="core_mnet"> |
131 | <directory suffix="_test.php">mnet/tests</directory> | |
132 | </testsuite> | |
5bd40408 | 133 | |
a3d5830a | 134 | <!--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 |
135 | <!--@plugin_suites_start@--> |
136 | <!--@plugin_suites_end@--> | |
5bd40408 | 137 | |
a3d5830a PS |
138 | </testsuites> |
139 | ||
5bd40408 | 140 | </phpunit> |