Skip to content
Snippets Groups Projects
phpunit.xml 1.51 KiB
Newer Older
<?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="Utils">
            <directory>./../../tests/Utils/</directory>
        </testsuite>
        <testsuite name="Metadata">
            <directory>./../../tests/Metadata/</directory>
        </testsuite>
        <testsuite name="modules-core">
            <directory>./../../tests/modules/core/</directory>
        </testsuite>
    </testsuites>
Brook Schofield's avatar
Brook Schofield committed
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">./../../lib/</directory>
            <directory suffix=".php">./../../modules/core/lib/</directory>
Brook Schofield's avatar
Brook Schofield committed
            <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>