]> git.immae.eu Git - github/wallabag/wallabag.git/blame - phpunit.xml.dist
Merge pull request #1510 from wallabag/v2-sf3
[github/wallabag/wallabag.git] / phpunit.xml.dist
CommitLineData
367664ee
NL
1<?xml version="1.0" encoding="UTF-8"?>
2
aa6e27cf
J
3<phpunit backupGlobals="false"
4 backupStaticAttributes="false"
367664ee 5 colors="true"
aa6e27cf
J
6 convertErrorsToExceptions="true"
7 convertNoticesToExceptions="true"
8 convertWarningsToExceptions="true"
9 processIsolation="false"
10 stopOnFailure="false"
11 syntaxCheck="false"
8378485e 12 bootstrap="app/bootstrap.php.cache"
aa6e27cf
J
13 >
14
367664ee
NL
15 <testsuites>
16 <testsuite name="wallabag Test Suite">
8378485e 17 <directory>./src/Wallabag/*Bundle/Tests</directory>
367664ee
NL
18 </testsuite>
19 </testsuites>
20
8378485e
J
21 <php>
22 <server name="KERNEL_DIR" value="./app/" />
b2a903fe
JB
23 <!--
24 Avoid tests to fail because of deprecated stuff
25 see: http://symfony.com/doc/current/cookbook/upgrade/major_version.html#deprecations-in-phpunit
26 -->
27 <env name="SYMFONY_DEPRECATIONS_HELPER" value="weak" />
8378485e
J
28 </php>
29
367664ee
NL
30 <filter>
31 <whitelist>
8378485e 32 <directory>./src</directory>
367664ee 33 <exclude>
8378485e
J
34 <directory>./vendor</directory>
35 <directory>./src/Wallabag/*Bundle/Resources</directory>
36 <directory>./src/Wallabag/*Bundle/Tests</directory>
37 <directory>./src/Wallabag/*Bundle/DataFixtures</directory>
367664ee
NL
38 </exclude>
39 </whitelist>
40 </filter>
41</phpunit>