mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
a3d5830a0a
Includes: * constants refactoring * reworked db table init * support for $CFG->debug = -1 * functional DB tests * fixed $DB->get_indexes() to not throw exceptions when table does not exist * fix handling of user passwords in test db * add debug info to exception messages * removed unnecessary PHP debug errors from mathslib * fixed @error suppression in get_string * fixed PHPUnit error handler setup * added timezone info to default install
44 lines
1.4 KiB
XML
44 lines
1.4 KiB
XML
<phpunit
|
|
bootstrap="lib/phpunit/bootstrap.php"
|
|
colors="true"
|
|
convertErrorsToExceptions="true"
|
|
convertNoticesToExceptions="true"
|
|
convertWarningsToExceptions="true"
|
|
processIsolation="false"
|
|
backupGlobals="false"
|
|
backupStaticAttributes="false"
|
|
stopOnError="false"
|
|
stopOnFailure="false"
|
|
stopOnIncomplete="false"
|
|
stopOnSkipped="false"
|
|
strict="false"
|
|
verbose="false"
|
|
>
|
|
|
|
<!--All core suites need to be manually added here-->
|
|
|
|
<testsuites>
|
|
<testsuite name="core_lib">
|
|
<directory suffix="_test.php">lib/tests</directory>
|
|
</testsuite>
|
|
<testsuite name="core_ajax">
|
|
<directory suffix="_test.php">lib/ajax/tests</directory>
|
|
</testsuite>
|
|
<testsuite name="core_ddl">
|
|
<directory suffix="_test.php">lib/ddl/tests</directory>
|
|
</testsuite>
|
|
<testsuite name="core_dml">
|
|
<directory suffix="_test.php">lib/dml/tests</directory>
|
|
</testsuite>
|
|
<testsuite name="core_form">
|
|
<directory suffix="_test.php">lib/form/tests</directory>
|
|
</testsuite>
|
|
|
|
<!--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-->
|
|
<!--@plugin_suites_start@-->
|
|
<!--@plugin_suites_end@-->
|
|
|
|
</testsuites>
|
|
|
|
</phpunit>
|