on-demand release 2.6beta+
[moodle.git] / phpunit.xml.dist
blob509ed1a574e072cf3adaa3cf887846b75ba2c09c
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 strict="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-->
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">
33 <directory suffix="_test.php">lib/phpunit/tests</directory>
34 </testsuite>
35 <testsuite name="core_test">
36 <directory suffix="_test.php">lib/testing/tests</directory>
37 </testsuite>
38 <testsuite name="core_ddl">
39 <directory suffix="_test.php">lib/ddl/tests</directory>
40 </testsuite>
41 <testsuite name="core_dml">
42 <directory suffix="_test.php">lib/dml/tests</directory>
43 </testsuite>
44 <testsuite name="core">
45 <directory suffix="_test.php">lib/tests</directory>
46 <directory suffix="_test.php">lib/ajax/tests</directory>
47 <directory>lib/password_compat/tests</directory>
48 </testsuite>
49 <testsuite name="core_form">
50 <directory suffix="_test.php">lib/form/tests</directory>
51 </testsuite>
52 <testsuite name="core_files">
53 <directory suffix="_test.php">lib/filestorage/tests</directory>
54 <directory suffix="_test.php">files/tests</directory>
55 </testsuite>
56 <testsuite name="core_role">
57 <directory suffix="_test.php">admin/roles/tests</directory>
58 </testsuite>
59 <testsuite name="core_cohort">
60 <directory suffix="_test.php">cohort/tests</directory>
61 </testsuite>
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>
67 <testsuite name="core_backup">
68 <directory suffix="_test.php">backup/controller/tests</directory>
69 <directory suffix="_test.php">backup/converter/moodle1/tests</directory>
70 <directory suffix="_test.php">backup/util</directory>
71 </testsuite>
72 <testsuite name="core_badges">
73 <directory suffix="_test.php">badges/tests</directory>
74 </testsuite>
75 <testsuite name="core_blog">
76 <directory suffix="_test.php">blog/tests</directory>
77 </testsuite>
78 <testsuite name="core_iplookup">
79 <directory suffix="_test.php">iplookup/tests</directory>
80 </testsuite>
81 <testsuite name="core_course">
82 <directory suffix="_test.php">course/tests</directory>
83 </testsuite>
84 <testsuite name="core_question">
85 <directory suffix="_test.php">question/engine/tests</directory>
86 <directory suffix="_test.php">question/tests</directory>
87 <directory suffix="_test.php">question/type/tests</directory>
88 <directory suffix="_test.php">question/engine/upgrade/tests</directory>
89 </testsuite>
90 <testsuite name="core_cache">
91 <directory suffix="_test.php">cache/tests</directory>
92 </testsuite>
93 <testsuite name="core_calendar">
94 <directory suffix="_test.php">calendar/tests</directory>
95 </testsuite>
96 <testsuite name="core_enrol">
97 <directory suffix="_test.php">enrol/tests</directory>
98 </testsuite>
99 <testsuite name="core_group">
100 <directory suffix="_test.php">group/tests</directory>
101 </testsuite>
102 <testsuite name="core_external">
103 <directory suffix="_test.php">lib/external/tests</directory>
104 </testsuite>
105 <testsuite name="core_message">
106 <directory suffix="_test.php">message/tests</directory>
107 </testsuite>
108 <testsuite name="core_notes">
109 <directory suffix="_test.php">notes/tests</directory>
110 </testsuite>
111 <testsuite name="core_rating">
112 <directory suffix="_test.php">rating/tests</directory>
113 </testsuite>
114 <testsuite name="core_repository">
115 <directory suffix="_test.php">repository/tests</directory>
116 </testsuite>
117 <testsuite name="core_user">
118 <directory suffix="_test.php">user/tests</directory>
119 </testsuite>
120 <testsuite name="core_webservice">
121 <directory suffix="_test.php">webservice/tests</directory>
122 </testsuite>
124 <!--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-->
125 <!--@plugin_suites_start@-->
126 <!--@plugin_suites_end@-->
128 </testsuites>
130 </phpunit>