summaryrefslogtreecommitdiff
path: root/phpunit.xml
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-10-09 09:40:11 +0200
committermsquare <msquare@notrademark.de>2016-10-09 09:40:11 +0200
commitd59b1c8812f62848acc2bf19f020abf4949e75ef (patch)
tree1db433f283ce1fa8a16e08ffd4a58b69fb46889a /phpunit.xml
parent1d4811cca51a00de27328d5608dbc23e46854297 (diff)
fix phpunit config
Diffstat (limited to 'phpunit.xml')
-rw-r--r--phpunit.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/phpunit.xml b/phpunit.xml
new file mode 100644
index 00000000..5b6d97a1
--- /dev/null
+++ b/phpunit.xml
@@ -0,0 +1,24 @@
+<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.5/phpunit.xsd"
+ backupGlobals="false"
+ bootstrap="./includes/engelsystem_provider.php"
+ colors="true"
+ convertErrorsToExceptions="true"
+ convertNoticesToExceptions="true"
+ convertWarningsToExceptions="true"
+ processIsolation="false">
+ <testsuites>
+ <testsuite name="Models">
+ <directory>./test/model/</directory>
+ </testsuite>
+ </testsuites>
+ <filter>
+ <whitelist>
+ <directory>./include/</directory>
+ <directory>./public/</directory>
+ </whitelist>
+ </filter>
+ <php>
+ <const name="PHPUNIT_TESTSUITE" value="true" />
+ </php>
+</phpunit>