summaryrefslogtreecommitdiff
path: root/_test/phpunit.xml
blob: 6e250974994328d140c9926f6513562ee6b25203 (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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
    bootstrap="bootstrap.php"
    convertNoticesToExceptions="false"
    colors="true"
    stderr="true"
    >

    <testsuites>
        <testsuite name="DokuWiki Tests">
            <directory suffix=".test.php">tests/</directory>
        </testsuite>
        <testsuite name="Plugin Tests">
            <directory suffix=".test.php">../lib/plugins/*/_test</directory>
        </testsuite>
        <testsuite name="Template Tests">
            <directory suffix=".test.php">../lib/tpl/*/_test</directory>
        </testsuite>
    </testsuites>

    <groups>
        <exclude>
            <group>flaky</group>
        </exclude>
    </groups>

    <filter>
        <whitelist addUncoveredFilesFromWhitelist="false">
            <directory suffix=".php">../</directory>
            <exclude>
                <directory suffix=".php">../_cs/</directory>
                <directory suffix=".php">../_test/</directory>
                <directory suffix=".php">../lib/plugins/*/_test/</directory>
                <directory suffix=".php">../lib/tpl/*/_test/</directory>
            </exclude>
        </whitelist>
    </filter>

</phpunit>