diff options
Diffstat (limited to 'phpunit.xml')
-rw-r--r-- | phpunit.xml | 39 |
1 files changed, 17 insertions, 22 deletions
diff --git a/phpunit.xml b/phpunit.xml index 5b6d97a1..98e64795 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,24 +1,19 @@ <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="./tests/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>./src/</directory> + </whitelist> + </filter> </phpunit> |