summaryrefslogtreecommitdiffstats
path: root/phpunit.xml
blob: 768e083b51b94f618d6b9870fb699a5aba7fea71 (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
<phpunit bootstrap="tests/bootstrap.php" colors="true">
    <testsuites>
        <testsuite name="unit">
            <directory>./tests/Unit</directory>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./lib/</directory>
            <exclude>
                <file>./lib/Config/DependencyException.php</file>
                <file>./lib/Explore/feeds/RecommendedSiteNotFoundException.php</file>
                <file>./lib/Explore/feeds/RecommendedSiteNotFoundException.php</file>
                <file>./lib/Fetcher/FetcherException.php</file>
                <file>./lib/Service/ServiceConflictException.php</file>
                <file>./lib/Service/ServiceException.php</file>
                <file>./lib/Service/ServiceNotFoundException.php</file>
                <file>./lib/Service/ServiceValidationException.php</file>
            </exclude>
        </whitelist>
    </filter>
    <logging>
        <log type="coverage-html" target="./build/report" lowUpperBound="35" highLowerBound="70"/>
        <log type="coverage-clover" target="./build/coverage.xml"/>
        <log type="junit" target="./build/junit.xml"/>
    </logging>
</phpunit>