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