diff options
Diffstat (limited to 'phpunit.xml.dist')
-rw-r--r-- | phpunit.xml.dist | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/phpunit.xml.dist b/phpunit.xml.dist new file mode 100644 index 00000000..6f6269a4 --- /dev/null +++ b/phpunit.xml.dist | |||
@@ -0,0 +1,36 @@ | |||
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 | </php> | ||
24 | |||
25 | <filter> | ||
26 | <whitelist> | ||
27 | <directory>./src</directory> | ||
28 | <exclude> | ||
29 | <directory>./vendor</directory> | ||
30 | <directory>./src/Wallabag/*Bundle/Resources</directory> | ||
31 | <directory>./src/Wallabag/*Bundle/Tests</directory> | ||
32 | <directory>./src/Wallabag/*Bundle/DataFixtures</directory> | ||
33 | </exclude> | ||
34 | </whitelist> | ||
35 | </filter> | ||
36 | </phpunit> | ||