Merge branch 'MOODLE_23_STABLE' into install_23_STABLE
[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"
5bd40408
PS
18 >
19
1d4d115a
PS
20 <php>
21 <!--<const name="PHPUNIT_LONGTEST" value="1"/> uncomment to execute also slow or otherwise expensive tests-->
22 </php>
23
7aea08e1 24<!--All core suites need to be manually added here-->
5bd40408
PS
25
26 <testsuites>
08ad3257
PS
27 <testsuite name="core_phpunit">
28 <directory suffix="_test.php">lib/phpunit/tests</directory>
29 </testsuite>
fe11e694
PS
30 <testsuite name="core_db">
31 <directory suffix="_test.php">lib/ddl/tests</directory>
32 <directory suffix="_test.php">lib/dml/tests</directory>
33 </testsuite>
5bd40408
PS
34 <testsuite name="core_lib">
35 <directory suffix="_test.php">lib/tests</directory>
a3d5830a 36 <directory suffix="_test.php">lib/ajax/tests</directory>
4b027431 37 <directory suffix="_test.php">lib/form/tests</directory>
a3d5830a 38 </testsuite>
8f110835
DM
39 <testsuite name="core_files">
40 <directory suffix="_test.php">lib/filestorage/tests</directory>
d306f967 41 <directory suffix="_test.php">files/tests</directory>
8f110835 42 </testsuite>
948d46da
PS
43 <testsuite name="core_grade">
44 <directory suffix="_test.php">lib/grade/tests</directory>
45 <directory suffix="_test.php">grade/tests</directory>
46 <directory suffix="_test.php">grade/grading/tests</directory>
47 </testsuite>
dbf5a447
PS
48 <testsuite name="core_backup">
49 <directory suffix="_test.php">backup/controller/tests</directory>
50 <directory suffix="_test.php">backup/converter/moodle1/tests</directory>
51 <directory suffix="_test.php">backup/util</directory>
52 </testsuite>
1cbf2a20
PS
53 <testsuite name="core_blog">
54 <directory suffix="_test.php">blog/tests</directory>
55 </testsuite>
64b0f3ab
PS
56 <testsuite name="core_iplookup">
57 <directory suffix="_test.php">iplookup/tests</directory>
58 </testsuite>
354b214c
PS
59 <testsuite name="core_course">
60 <directory suffix="_test.php">course/tests</directory>
61 </testsuite>
603bd001
PS
62 <testsuite name="core_question">
63 <directory suffix="_test.php">question/engine/tests</directory>
64 <directory suffix="_test.php">question/tests</directory>
65 <directory suffix="_test.php">question/type/tests</directory>
91308439
DP
66 <directory suffix="_test.php">question/engine/upgrade/tests</directory>
67 </testsuite>
91308439
DP
68 <testsuite name="core_rating">
69 <directory suffix="_test.php">rating/tests</directory>
70 </testsuite>
71 <testsuite name="core_repository">
72 <directory suffix="_test.php">repository/tests</directory>
73 </testsuite>
74 <testsuite name="core_user">
75 <directory suffix="_test.php">user/tests</directory>
76 </testsuite>
77 <testsuite name="core_webservice">
78 <directory suffix="_test.php">webservice/tests</directory>
603bd001 79 </testsuite>
5bd40408 80
a3d5830a 81 <!--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
82<!--@plugin_suites_start@-->
83<!--@plugin_suites_end@-->
5bd40408 84
a3d5830a
PS
85 </testsuites>
86
5bd40408 87</phpunit>