summaryrefslogtreecommitdiffstats
path: root/tools/phpunit/phpunit.xml
blob: d0233b23a7b263980c5dcbaf284dd66e944a1197 (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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false"
         syntaxCheck="false"
         bootstrap="./../../vendor/autoload.php">
    <testsuites>
        <testsuite name="Unit tests">
            <directory>./../../tests/</directory>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./../../lib/</directory>
            <directory suffix=".php">./../../modules/consent/lib/</directory>
            <directory suffix=".php">./../../modules/core/lib/</directory>
            <directory suffix=".php">./../../modules/saml/lib/</directory>
            <exclude>
                <directory>./../../vendor/</directory>
                <directory>./../../tests/</directory>
            </exclude>
        </whitelist>
    </filter>
    <logging>
        <log type="coverage-text" target="php://stdout" showUncoveredFiles="true"/>
        <log type="coverage-html" target="build/coverage" title="PHP Coveralls" charset="UTF-8" yui="true" highlight="true" lowUpperBound="35" highLowerBound="70"/>
        <log type="coverage-clover" target="build/logs/clover.xml"/>
    </logging>
</phpunit>