aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pollutometer-php/phpunit.xml.dist')
-rw-r--r--pollutometer-php/phpunit.xml.dist31
1 files changed, 31 insertions, 0 deletions
diff --git a/pollutometer-php/phpunit.xml.dist b/pollutometer-php/phpunit.xml.dist
new file mode 100644
index 0000000..5a12e67
--- /dev/null
+++ b/pollutometer-php/phpunit.xml.dist
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
+<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
+ backupGlobals="false"
+ colors="true"
+ bootstrap="vendor/autoload.php"
+>
+ <php>
+ <ini name="error_reporting" value="-1" />
+ <server name="KERNEL_CLASS" value="AppKernel" />
+ </php>
+
+ <testsuites>
+ <testsuite name="Project Test Suite">
+ <directory>tests</directory>
+ </testsuite>
+ </testsuites>
+
+ <filter>
+ <whitelist>
+ <directory>src</directory>
+ <exclude>
+ <directory>src/*Bundle/Resources</directory>
+ <directory>src/*/*Bundle/Resources</directory>
+ <directory>src/*/Bundle/*Bundle/Resources</directory>
+ </exclude>
+ </whitelist>
+ </filter>
+</phpunit>