aboutsummaryrefslogtreecommitdiff
path: root/phpunit.xml
diff options
context:
space:
mode:
Diffstat (limited to 'phpunit.xml')
-rw-r--r--phpunit.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/phpunit.xml b/phpunit.xml
new file mode 100644
index 0000000..593f644
--- /dev/null
+++ b/phpunit.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<phpunit
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="../../../lib/phpunit/phpunit.xsd"
+ bootstrap="../../../lib/phpunit/bootstrap.php"
+ convertErrorsToExceptions="true"
+ convertNoticesToExceptions="true"
+ convertWarningsToExceptions="true"
+ processIsolation="false"
+ backupGlobals="false"
+ backupStaticAttributes="false"
+ stopOnError="false"
+ stopOnFailure="false"
+ stopOnIncomplete="false"
+ stopOnSkipped="false"
+ strict="false"
+ printerClass="Hint_ResultPrinter"
+ testSuiteLoaderClass="phpunit_autoloader"
+ >
+
+ <php>
+ <!--<const name="PHPUNIT_LONGTEST" value="1"/> uncomment to execute also slow or otherwise expensive tests-->
+ <const name="PHPUNIT_SEQUENCE_START" value="139000"/>
+
+ <!--Following constants instruct tests to fetch external test files from alternative location or skip tests if empty, clone https://github.com/moodlehq/moodle-exttests to local web server-->
+ <!--<const name="TEST_EXTERNAL_FILES_HTTP_URL" value="http://download.moodle.org/unittest"/> uncomment and alter to fetch external test files from alternative location-->
+ <!--<const name="TEST_EXTERNAL_FILES_HTTPS_URL" value="https://download.moodle.org/unittest"/> uncomment and alter to fetch external test files from alternative location-->
+ </php>
+
+
+ <testsuites>
+ <testsuite name="\question\type\algebra">
+ <directory suffix="_test.php">.</directory>
+ </testsuite>
+ </testsuites>
+
+</phpunit>