MDL-32149 reset all globals in PHPUnit tests, fix setting of $USER
[moodle.git] / phpunit.xml.dist
CommitLineData
5bd40408
PS
1<phpunit
2 bootstrap="lib/phpunit/bootstrap.php"
3 colors="true"
4 convertErrorsToExceptions="true"
5 convertNoticesToExceptions="true"
6 convertWarningsToExceptions="true"
7 processIsolation="false"
8 backupGlobals="false"
9 backupStaticAttributes="false"
10 stopOnError="false"
11 stopOnFailure="false"
12 stopOnIncomplete="false"
13 stopOnSkipped="false"
14 strict="false"
15 verbose="false"
16 >
17
7aea08e1 18<!--All core suites need to be manually added here-->
5bd40408
PS
19
20 <testsuites>
21 <testsuite name="core_lib">
22 <directory suffix="_test.php">lib/tests</directory>
23 </testsuite>
a3d5830a
PS
24 <testsuite name="core_ajax">
25 <directory suffix="_test.php">lib/ajax/tests</directory>
26 </testsuite>
27 <testsuite name="core_ddl">
28 <directory suffix="_test.php">lib/ddl/tests</directory>
29 </testsuite>
30 <testsuite name="core_dml">
31 <directory suffix="_test.php">lib/dml/tests</directory>
32 </testsuite>
33 <testsuite name="core_form">
34 <directory suffix="_test.php">lib/form/tests</directory>
35 </testsuite>
5bd40408 36
a3d5830a 37 <!--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
38<!--@plugin_suites_start@-->
39<!--@plugin_suites_end@-->
5bd40408 40
a3d5830a
PS
41 </testsuites>
42
5bd40408 43</phpunit>