MDL-37684 - phpunit add missing definitions to phpunit.xml.dist
[moodle.git] / phpunit.xml.dist
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         >
20     <php>
21         <!--<const name="PHPUNIT_LONGTEST" value="1"/> uncomment to execute also slow or otherwise expensive tests-->
22     </php>
24 <!--All core suites need to be manually added here-->
26     <testsuites>
27         <testsuite name="core_phpunit">
28             <directory suffix="_test.php">lib/phpunit/tests</directory>
29         </testsuite>
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>
34         <testsuite name="core_lib">
35             <directory suffix="_test.php">lib/tests</directory>
36             <directory suffix="_test.php">lib/ajax/tests</directory>
37             <directory suffix="_test.php">lib/form/tests</directory>
38         </testsuite>
39         <testsuite name="core_files">
40             <directory suffix="_test.php">lib/filestorage/tests</directory>
41         </testsuite>
42         <testsuite name="core_grade">
43             <directory suffix="_test.php">lib/grade/tests</directory>
44             <directory suffix="_test.php">grade/tests</directory>
45             <directory suffix="_test.php">grade/grading/tests</directory>
46         </testsuite>
47         <testsuite name="core_backup">
48             <directory suffix="_test.php">backup/controller/tests</directory>
49             <directory suffix="_test.php">backup/converter/moodle1/tests</directory>
50             <directory suffix="_test.php">backup/util</directory>
51         </testsuite>
52         <testsuite name="core_blog">
53             <directory suffix="_test.php">blog/tests</directory>
54         </testsuite>
55         <testsuite name="core_iplookup">
56             <directory suffix="_test.php">iplookup/tests</directory>
57         </testsuite>
58         <testsuite name="core_course">
59             <directory suffix="_test.php">course/tests</directory>
60         </testsuite>
61         <testsuite name="core_question">
62             <directory suffix="_test.php">question/engine/tests</directory>
63             <directory suffix="_test.php">question/tests</directory>
64             <directory suffix="_test.php">question/type/tests</directory>
65             <directory suffix="_test.php">question/engine/upgrade/tests</directory>
66         </testsuite>
67         <testsuite name="quiz_report">
68             <directory suffix="_test.php">mod/quiz/report/tests</directory>
69         </testsuite>
70         <testsuite name="core_rating">
71             <directory suffix="_test.php">rating/tests</directory>
72         </testsuite>
73         <testsuite name="core_repository">
74             <directory suffix="_test.php">repository/tests</directory>
75         </testsuite>
76         <testsuite name="core_user">
77             <directory suffix="_test.php">user/tests</directory>
78         </testsuite>
79         <testsuite name="core_webservice">
80             <directory suffix="_test.php">webservice/tests</directory>
81         </testsuite>
83         <!--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-->
84 <!--@plugin_suites_start@-->
85 <!--@plugin_suites_end@-->
87     </testsuites>
89 </phpunit>