aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/phpunit.xml.dist
diff options
context:
space:
mode:
Diffstat (limited to 'app/phpunit.xml.dist')
-rw-r--r--app/phpunit.xml.dist37
1 files changed, 37 insertions, 0 deletions
diff --git a/app/phpunit.xml.dist b/app/phpunit.xml.dist
new file mode 100644
index 00000000..2b41503b
--- /dev/null
+++ b/app/phpunit.xml.dist
@@ -0,0 +1,37 @@
1<?xml version="1.0" encoding="UTF-8"?>
2
3<!-- http://phpunit.de/manual/4.1/en/appendixes.configuration.html -->
4<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5 xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
6 backupGlobals="false"
7 colors="true"
8 bootstrap="bootstrap.php.cache"
9>
10 <testsuites>
11 <testsuite name="Project Test Suite">
12 <directory>../src/*/*Bundle/Tests</directory>
13 <directory>../src/*/Bundle/*Bundle/Tests</directory>
14 <directory>../src/*Bundle/Tests</directory>
15 </testsuite>
16 </testsuites>
17
18 <!--
19 <php>
20 <server name="KERNEL_DIR" value="/path/to/your/app/" />
21 </php>
22 -->
23
24 <filter>
25 <whitelist>
26 <directory>../src</directory>
27 <exclude>
28 <directory>../src/*Bundle/Resources</directory>
29 <directory>../src/*Bundle/Tests</directory>
30 <directory>../src/*/*Bundle/Resources</directory>
31 <directory>../src/*/*Bundle/Tests</directory>
32 <directory>../src/*/Bundle/*Bundle/Resources</directory>
33 <directory>../src/*/Bundle/*Bundle/Tests</directory>
34 </exclude>
35 </whitelist>
36 </filter>
37</phpunit>