MDL-32960 put phpunit integration tests to one test suite and execute them first
[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"
17 verbose="false"
18 >
19
7aea08e1 20<!--All core suites need to be manually added here-->
5bd40408
PS
21
22 <testsuites>
08ad3257
PS
23 <testsuite name="core_phpunit">
24 <directory suffix="_test.php">lib/phpunit/tests</directory>
25 </testsuite>
fe11e694
PS
26 <testsuite name="core_db">
27 <directory suffix="_test.php">lib/ddl/tests</directory>
28 <directory suffix="_test.php">lib/dml/tests</directory>
29 </testsuite>
5bd40408
PS
30 <testsuite name="core_lib">
31 <directory suffix="_test.php">lib/tests</directory>
a3d5830a 32 <directory suffix="_test.php">lib/ajax/tests</directory>
4b027431 33 <directory suffix="_test.php">lib/form/tests</directory>
a3d5830a 34 </testsuite>
8f110835
DM
35 <testsuite name="core_files">
36 <directory suffix="_test.php">lib/filestorage/tests</directory>
37 </testsuite>
948d46da
PS
38 <testsuite name="core_grade">
39 <directory suffix="_test.php">lib/grade/tests</directory>
40 <directory suffix="_test.php">grade/tests</directory>
41 <directory suffix="_test.php">grade/grading/tests</directory>
42 </testsuite>
dbf5a447
PS
43 <testsuite name="core_backup">
44 <directory suffix="_test.php">backup/controller/tests</directory>
45 <directory suffix="_test.php">backup/converter/moodle1/tests</directory>
46 <directory suffix="_test.php">backup/util</directory>
47 </testsuite>
1cbf2a20
PS
48 <testsuite name="core_blog">
49 <directory suffix="_test.php">blog/tests</directory>
50 </testsuite>
354b214c
PS
51 <testsuite name="core_course">
52 <directory suffix="_test.php">course/tests</directory>
53 </testsuite>
603bd001
PS
54 <testsuite name="core_question">
55 <directory suffix="_test.php">question/engine/tests</directory>
56 <directory suffix="_test.php">question/tests</directory>
57 <directory suffix="_test.php">question/type/tests</directory>
58 </testsuite>
5bd40408 59
a3d5830a 60 <!--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
61<!--@plugin_suites_start@-->
62<!--@plugin_suites_end@-->
5bd40408 63
a3d5830a
PS
64 </testsuites>
65
5bd40408 66</phpunit>