summaryrefslogtreecommitdiffstats
path: root/phpunit.xml
blob: 2a0713a172ad1ebe3af8d400ebe417818c5b672e (plain)
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
40
<?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="vendor/autoload.php"
         backupGlobals="false"
         beStrictAboutCoversAnnotation="true"
         beStrictAboutOutputDuringTests="true"
         beStrictAboutTestsThatDoNotTestAnything="true"
         beStrictAboutTodoAnnotatedTests="true"
         cacheResultFile="tmp/.phpunit.cache/test-results"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         verbose="true">


    <coverage processUncoveredFiles="false">
        <include>
            <directory suffix=".php">app</directory>
            <directory suffix=".php">public</directory>
            <directory suffix=".php">custom/views</directory>
        </include>
        <exclude>
            <directory>vendor</directory>
        </exclude>
        <report>
            <html outputDirectory="tmp/html-coverage" lowUpperBound="50" highLowerBound="90"/>
            <php outputFile="tmp/coverage.php"/>
            <text outputFile="tmp/coverage.txt" showUncoveredFiles="true" showOnlySummary="true"/>
            <xml outputDirectory="tmp/xml-coverage"/>
        </report>
    </coverage>

    <testsuites>
        <testsuite name="moonmoon tests">
            <directory suffix="Test.php">tests</directory>
        </testsuite>
    </testsuites>
</phpunit>