MDL-40940 try to guess testcase location using info from /phpunit.xml
[moodle.git] / phpunit.xml.dist
CommitLineData
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-->
23 </php>
24
7aea08e1 25<!--All core suites need to be manually added here-->
5bd40408
PS
26
27 <testsuites>
08ad3257
PS
28 <testsuite name="core_phpunit">
29 <directory suffix="_test.php">lib/phpunit/tests</directory>
30 </testsuite>
5c3c2c81
DM
31 <testsuite name="core_test">
32 <directory suffix="_test.php">lib/testing/tests</directory>
33 </testsuite>
fe11e694
PS
34 <testsuite name="core_db">
35 <directory suffix="_test.php">lib/ddl/tests</directory>
36 <directory suffix="_test.php">lib/dml/tests</directory>
37 </testsuite>
5bd40408
PS
38 <testsuite name="core_lib">
39 <directory suffix="_test.php">lib/tests</directory>
a3d5830a 40 <directory suffix="_test.php">lib/ajax/tests</directory>
4b027431 41 <directory suffix="_test.php">lib/form/tests</directory>
ec2d8ceb 42 <directory>lib/password_compat/tests</directory>
a3d5830a 43 </testsuite>
8f110835
DM
44 <testsuite name="core_files">
45 <directory suffix="_test.php">lib/filestorage/tests</directory>
11f20be7 46 <directory suffix="_test.php">files/tests</directory>
8f110835 47 </testsuite>
5e72efd4
PS
48 <testsuite name="core_role">
49 <directory suffix="_test.php">admin/roles/tests</directory>
50 </testsuite>
4729332b
PS
51 <testsuite name="core_cohort">
52 <directory suffix="_test.php">cohort/tests</directory>
53 </testsuite>
948d46da
PS
54 <testsuite name="core_grade">
55 <directory suffix="_test.php">lib/grade/tests</directory>
56 <directory suffix="_test.php">grade/tests</directory>
57 <directory suffix="_test.php">grade/grading/tests</directory>
58 </testsuite>
d735f3d8
FM
59 <testsuite name="core_auth">
60 <directory suffix="_test.php">auth/tests</directory>
61 </testsuite>
dbf5a447
PS
62 <testsuite name="core_backup">
63 <directory suffix="_test.php">backup/controller/tests</directory>
64 <directory suffix="_test.php">backup/converter/moodle1/tests</directory>
65 <directory suffix="_test.php">backup/util</directory>
66 </testsuite>
27806552
YB
67 <testsuite name="core_badges">
68 <directory suffix="_test.php">badges/tests</directory>
69 </testsuite>
1cbf2a20
PS
70 <testsuite name="core_blog">
71 <directory suffix="_test.php">blog/tests</directory>
72 </testsuite>
64b0f3ab
PS
73 <testsuite name="core_iplookup">
74 <directory suffix="_test.php">iplookup/tests</directory>
75 </testsuite>
354b214c
PS
76 <testsuite name="core_course">
77 <directory suffix="_test.php">course/tests</directory>
78 </testsuite>
603bd001
PS
79 <testsuite name="core_question">
80 <directory suffix="_test.php">question/engine/tests</directory>
81 <directory suffix="_test.php">question/tests</directory>
82 <directory suffix="_test.php">question/type/tests</directory>
b3778a0d 83 <directory suffix="_test.php">question/engine/upgrade/tests</directory>
603bd001 84 </testsuite>
d6a1f63b
SH
85 <testsuite name="core_cache">
86 <directory suffix="_test.php">cache/tests</directory>
87 </testsuite>
644a7ef7
AA
88 <testsuite name="core_calendar">
89 <directory suffix="_test.php">calendar/tests</directory>
90 </testsuite>
b3778a0d
DP
91 <testsuite name="core_enrol">
92 <directory suffix="_test.php">enrol/tests</directory>
93 </testsuite>
94 <testsuite name="core_group">
95 <directory suffix="_test.php">group/tests</directory>
96 </testsuite>
97 <testsuite name="core_external">
98 <directory suffix="_test.php">lib/external/tests</directory>
99 </testsuite>
100 <testsuite name="core_message">
101 <directory suffix="_test.php">message/tests</directory>
102 </testsuite>
b3778a0d
DP
103 <testsuite name="core_notes">
104 <directory suffix="_test.php">notes/tests</directory>
105 </testsuite>
106 <testsuite name="core_rating">
107 <directory suffix="_test.php">rating/tests</directory>
108 </testsuite>
109 <testsuite name="core_repository">
110 <directory suffix="_test.php">repository/tests</directory>
111 </testsuite>
112 <testsuite name="core_user">
113 <directory suffix="_test.php">user/tests</directory>
114 </testsuite>
115 <testsuite name="core_webservice">
116 <directory suffix="_test.php">webservice/tests</directory>
117 </testsuite>
5bd40408 118
a3d5830a 119 <!--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
120<!--@plugin_suites_start@-->
121<!--@plugin_suites_end@-->
5bd40408 122
a3d5830a
PS
123 </testsuites>
124
5bd40408 125</phpunit>