-
Notifications
You must be signed in to change notification settings - Fork 20
/
phpunit.xml
30 lines (30 loc) · 1.8 KB
/
phpunit.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" bootstrap="../../../lib/phpunit/bootstrap.php" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" backupGlobals="false" backupStaticAttributes="false" cacheResult="false" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" beStrictAboutTestsThatDoNotTestAnything="false" beStrictAboutOutputDuringTests="true">
<coverage>
<include>
<directory suffix=".php">.</directory>
</include>
<exclude>
<directory suffix=".php">tests</directory>
<directory suffix=".php">lang</directory>
<directory suffix=".php">db</directory>
<file>settings.php</file>
<file>version.php</file>
</exclude>
</coverage>
<php>
<!--<const name="PHPUNIT_LONGTEST" value="1"/> uncomment to execute also slow or otherwise expensive tests-->
<const name="PHPUNIT_SEQUENCE_START" value="123000"/>
<!--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="gapfill_testsuite">
<directory suffix=".php">./tests</directory>
</testsuite>
</testsuites>
</phpunit>