summaryrefslogtreecommitdiff
path: root/phpunit.xml
diff options
context:
space:
mode:
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>