-
Notifications
You must be signed in to change notification settings - Fork 7
/
phpunit.xml.dist
39 lines (36 loc) · 1.21 KB
/
phpunit.xml.dist
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
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/|version|/phpunit.xsd"
backupGlobals="false"
bootstrap="tests/bootstrap.php"
cacheResultFile="tmp/.phpunit.result.cache"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
timeoutForSmallTests="1"
timeoutForMediumTests="10"
timeoutForLargeTests="60"
verbose="true">
<testsuites>
<testsuite name="LifterLMS REST API Test Suite">
<directory suffix=".php">tests/unit-tests</directory>
<!-- @todo: rework these tests to post to a mocked url -->
<exclude>./tests/unit-tests/class-llms-rest-test-webhook-delivery.php</exclude>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">.</directory>
<exclude>
<directory>./tests/</directory>
<directory suffix=".php">./tmp/</directory>
<directory suffix=".php">./dist/</directory>
<directory suffix=".php">./node_modules/</directory>
<directory suffix=".php">./vendor/</directory>
<file>./**/index.php</file>
</exclude>
</whitelist>
</filter>
</phpunit>