phpunit.xml.dist 1.08 KB
Newer Older
Thomas Citharel's avatar
Thomas Citharel committed
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>

<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
         backupGlobals="false"
         colors="true"
         bootstrap="app/autoload.php"
Thomas Citharel's avatar
Thomas Citharel committed
9
         verbose="true">
Thomas Citharel's avatar
Thomas Citharel committed
10 11 12
    <php>
        <ini name="error_reporting" value="-1" />
        <server name="KERNEL_DIR" value="app/" />
Thomas Citharel's avatar
Thomas Citharel committed
13
        <env name="SYMFONY_DEPRECATIONS_HELPER" value="weak" />
Thomas Citharel's avatar
Thomas Citharel committed
14 15 16 17 18 19 20 21 22 23 24 25
    </php>

    <testsuites>
        <testsuite name="Project Test Suite">
            <directory>tests</directory>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist>
            <directory>src</directory>
            <exclude>
Thomas Citharel's avatar
Thomas Citharel committed
26
                <directory>vendor</directory>
Thomas Citharel's avatar
Thomas Citharel committed
27 28 29 30 31 32 33
                <directory>src/*Bundle/Resources</directory>
                <directory>src/*/*Bundle/Resources</directory>
                <directory>src/*/Bundle/*Bundle/Resources</directory>
            </exclude>
        </whitelist>
    </filter>
</phpunit>