diff options
author | Jean-Michel Vedrine <vedrine@vedrine.org> | 2017-12-27 08:30:49 +0100 |
---|---|---|
committer | Jean-Michel Vedrine <vedrine@vedrine.org> | 2017-12-27 08:30:49 +0100 |
commit | 6900c148855bb618e44f490e65dbdcd7c98e8619 (patch) | |
tree | fb5de21136b9d83338b3eeff10321d45d8f64a56 /phpunit.xml | |
parent | fce013e113eb0587d7b8885020670e9ff9ae2d03 (diff) |
Add phpunit and Travis files
Diffstat (limited to 'phpunit.xml')
-rw-r--r-- | phpunit.xml | 37 |
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> |