1 |
efrain |
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
2 |
<phpunit
|
|
|
3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
4 |
xsi:noNamespaceSchemaLocation="../../../lib/phpunit/phpunit.xsd"
|
|
|
5 |
bootstrap="../../../lib/phpunit/bootstrap.php"
|
|
|
6 |
convertErrorsToExceptions="true"
|
|
|
7 |
convertNoticesToExceptions="true"
|
|
|
8 |
convertWarningsToExceptions="true"
|
|
|
9 |
processIsolation="false"
|
|
|
10 |
backupGlobals="false"
|
|
|
11 |
backupStaticAttributes="false"
|
|
|
12 |
cacheResult="false"
|
|
|
13 |
stopOnError="false"
|
|
|
14 |
stopOnFailure="false"
|
|
|
15 |
stopOnIncomplete="false"
|
|
|
16 |
stopOnSkipped="false"
|
|
|
17 |
beStrictAboutTestsThatDoNotTestAnything="false"
|
|
|
18 |
beStrictAboutOutputDuringTests="true"
|
|
|
19 |
>
|
|
|
20 |
|
|
|
21 |
<php>
|
|
|
22 |
<!--<const name="PHPUNIT_LONGTEST" value="1"/> uncomment to execute also slow or otherwise expensive tests-->
|
|
|
23 |
<const name="PHPUNIT_SEQUENCE_START" value="145000"/>
|
|
|
24 |
|
|
|
25 |
<!--Following constants instruct tests to fetch external test files from alternative location
|
|
|
26 |
or skip tests if empty, clone https://github.com/moodlehq/moodle-exttests to local web server-->
|
|
|
27 |
<!--<const name="TEST_EXTERNAL_FILES_HTTP_URL" value="http://download.moodle.org/unittest"/>
|
|
|
28 |
uncomment and alter to fetch external test files from alternative location-->
|
|
|
29 |
<!--<const name="TEST_EXTERNAL_FILES_HTTPS_URL" value="https://download.moodle.org/unittest"/>
|
|
|
30 |
uncomment and alter to fetch external test files from alternative location-->
|
|
|
31 |
</php>
|
|
|
32 |
|
|
|
33 |
<testsuites>
|
|
|
34 |
<testsuite name="availability_coursecompleted_testsuite">
|
|
|
35 |
<directory suffix="_test.php">.</directory>
|
|
|
36 |
</testsuite>
|
|
|
37 |
</testsuites>
|
|
|
38 |
|
|
|
39 |
<coverage>
|
|
|
40 |
<include>
|
|
|
41 |
<directory suffix=".php">classes</directory>
|
|
|
42 |
<directory suffix=".php">tests/generator</directory>
|
|
|
43 |
<file>externallib.php</file>
|
|
|
44 |
<file>lib.php</file>
|
|
|
45 |
<file>locallib.php</file>
|
|
|
46 |
<file>renderer.php</file>
|
|
|
47 |
<file>rsslib.php</file>
|
|
|
48 |
</include>
|
|
|
49 |
</coverage>
|
|
|
50 |
|
|
|
51 |
</phpunit>
|