summaryrefslogtreecommitdiff
path: root/phpunit.xml
diff options
context:
space:
mode:
Diffstat (limited to 'phpunit.xml')
-rw-r--r--phpunit.xml40
1 files changed, 18 insertions, 22 deletions
diff --git a/phpunit.xml b/phpunit.xml
index 5b6d97a1..bdc4b0b6 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -1,24 +1,20 @@
<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>
+ bootstrap="./includes/autoload.php"
+ xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.3/phpunit.xsd"
+ colors="true"
+>
+ <testsuites>
+ <testsuite name="Feature">
+ <directory>./tests/Feature</directory>
+ </testsuite>
+ <testsuite name="Unit">
+ <directory>./tests/Unit</directory>
+ </testsuite>
+ </testsuites>
+ <filter>
+ <whitelist>
+ <directory>./include/</directory>
+ <directory>./src/</directory>
+ </whitelist>
+ </filter>
</phpunit>