summaryrefslogtreecommitdiffstats
path: root/phpunit.xml
blob: 8d21b4051ef73cc6791b81d179cd1444bf76e725 (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
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="tests/bootstrap.php" colors="true"
         xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd">
    <testsuites>
        <testsuite name="unit">
            <directory>./tests/Unit</directory>
        </testsuite>
    </testsuites>

    <coverage processUncoveredFiles="true">
        <include>
            <directory suffix=".php">./lib/</directory>
        </include>
        <exclude>
            <file>./lib/AppInfo/Application.php</file>
            <file>./lib/Controller/JSONHttpErrorTrait.php</file>
            <directory suffix=".php">./lib/*/Exceptions</directory>
            <directory suffix=".php">./lib/Migration</directory>
            <file>./lib/Db/FeedType.php</file>
            <file>./lib/Db/IAPI.php</file>
        </exclude>
        <report>
            <clover outputFile="./build/coverage.xml"/>
            <html outputDirectory="./build/report" lowUpperBound="35" highLowerBound="70"/>
        </report>
    </coverage>

    <logging>
        <junit outputFile="./build/junit.xml"/>
    </logging>
</phpunit>