phpunit.xml.dist 1.63 KB
Newer Older
Hamza Arfaoui's avatar
Hamza Arfaoui 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         bootstrap="vendor/autoload.php"
         beStrictAboutOutputDuringTests="true"
         colors="true"
         verbose="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false"
         syntaxCheck="false">
    <logging>
        <log type="coverage-clover" target="coverage.xml" />
    </logging>
    <testsuites>
        <testsuite name="Builder">
            <directory suffix=".php">./tests/Builder</directory>
        </testsuite>
        <testsuite name="Components">
            <directory suffix=".php">./tests/Components</directory>
        </testsuite>
        <testsuite name="Lexer">
            <directory suffix=".php">./tests/Lexer</directory>
        </testsuite>
        <testsuite name="Misc">
            <directory suffix=".php">./tests/Misc</directory>
        </testsuite>
        <testsuite name="Parser">
            <directory suffix=".php">./tests/Parser</directory>
        </testsuite>
        <testsuite name="Utils">
            <directory suffix=".php">./tests/Utils</directory>
        </testsuite>
    </testsuites>
    <filter>
        <whitelist processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">src/</directory>
        </whitelist>
    </filter>
    <php>
        <ini name="display_errors" value="On" />
        <ini name="display_startup_errors" value="On" />
        <ini name="error_reporting" value="E_ALL" />
    </php>
</phpunit>