]>
Commit | Line | Data |
---|---|---|
1 | <?xml version="1.0" encoding="UTF-8"?> | |
2 | ||
3 | <phpunit backupGlobals="false" | |
4 | backupStaticAttributes="false" | |
5 | colors="true" | |
6 | convertErrorsToExceptions="true" | |
7 | convertNoticesToExceptions="true" | |
8 | convertWarningsToExceptions="true" | |
9 | processIsolation="false" | |
10 | stopOnFailure="false" | |
11 | syntaxCheck="false" | |
12 | bootstrap="app/bootstrap.php.cache" | |
13 | > | |
14 | ||
15 | <testsuites> | |
16 | <testsuite name="wallabag Test Suite"> | |
17 | <directory>./src/Wallabag/*Bundle/Tests</directory> | |
18 | </testsuite> | |
19 | </testsuites> | |
20 | ||
21 | <php> | |
22 | <server name="KERNEL_DIR" value="./app/" /> | |
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" /> | |
28 | </php> | |
29 | ||
30 | <filter> | |
31 | <whitelist> | |
32 | <directory>./src</directory> | |
33 | <exclude> | |
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> | |
38 | </exclude> | |
39 | </whitelist> | |
40 | </filter> | |
41 | </phpunit> |