aboutsummaryrefslogtreecommitdiff
path: root/phpunit.xml
diff options
context:
space:
mode:
Diffstat (limited to 'phpunit.xml')
-rw-r--r--phpunit.xml15
1 files changed, 12 insertions, 3 deletions
diff --git a/phpunit.xml b/phpunit.xml
index 593f644..111f963 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -13,14 +13,15 @@
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
- strict="false"
+ beStrictAboutTestsThatDoNotTestAnything="false"
+ beStrictAboutOutputDuringTests="true"
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"/>
+ <const name="PHPUNIT_SEQUENCE_START" value="172000"/>
<!--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-->
@@ -29,9 +30,17 @@
<testsuites>
- <testsuite name="\question\type\algebra">
+ <testsuite name="question_type_algebra_testsuite">
<directory suffix="_test.php">.</directory>
</testsuite>
</testsuites>
+ <filter>
+ <whitelist processUncoveredFilesFromWhitelist="false">
+ <directory suffix=".php">.</directory>
+ <exclude>
+ <directory suffix="_test.php">.</directory>
+ </exclude>
+ </whitelist>
+ </filter>
</phpunit>