phpunit.xml 1.03 KB
Newer Older
Avris's avatar
Avris committed
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" encoding="UTF-8"?>

<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
         backupGlobals="false"
         colors="true"
         stderr="true"
         bootstrap="tests/bootstrap.php">

    <testsuites>
        <testsuite name="unit">
            <directory>tests/unit</directory>
        </testsuite>
        <testsuite name="functional">
            <directory>tests/functional</directory>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist addUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">app</directory>
        </whitelist>
    </filter>

    <logging>
        <log type="coverage-html"   target="tests/_output/coverage"/>
        <log type="coverage-clover" target="tests/_output/coverage.xml"/>
        <log type="coverage-php"    target="tests/_output/coverage.serialized"/>
        <log type="coverage-text"   target="php://stdout" showOnlySummary="true"/>
    </logging>
</phpunit>