aboutsummaryrefslogtreecommitdiffhomepage
path: root/phpunit.xml.dist
blob: 85fa964b84fb177b0a8e1cb7ca0824a3048962d2 (plain) (blame)
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
<?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="app/autoload.php"
        >

    <testsuites>
        <testsuite name="wallabag Test Suite">
            <directory>./src/Wallabag/*Bundle/Tests</directory>
        </testsuite>
    </testsuites>

    <php>
        <server name="KERNEL_DIR" value="./app/" />
        <!--
          Avoid tests to fail because of deprecated stuff
          see: http://symfony.com/doc/current/cookbook/upgrade/major_version.html#deprecations-in-phpunit

          <env name="SYMFONY_DEPRECATIONS_HELPER" value="weak" />
        -->
    </php>

    <filter>
        <whitelist>
            <directory>./src</directory>
            <exclude>
                <directory>./vendor</directory>
                <directory>./src/Wallabag/*Bundle/Resources</directory>
                <directory>./src/Wallabag/*Bundle/Tests</directory>
                <directory>./src/Wallabag/*Bundle/DataFixtures</directory>
            </exclude>
        </whitelist>
    </filter>
</phpunit>