diff options
author | Phil Burton <philip.burton@chiaro.co.uk> | 2019-11-01 22:56:27 +0000 |
---|---|---|
committer | Phil Burton <philip.burton@chiaro.co.uk> | 2019-11-01 22:56:27 +0000 |
commit | fb0c574ed1725fe13c8ab073d2ead3fdc842c2ba (patch) | |
tree | f863fd7cecad2c674cb071b3d7a44c2de6adb51d /phpunit.xml |
Added laravel project
Diffstat (limited to 'phpunit.xml')
-rw-r--r-- | phpunit.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..c1a4100 --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd" + backupGlobals="false" + backupStaticAttributes="false" + bootstrap="vendor/autoload.php" + colors="true" + convertErrorsToExceptions="true" + convertNoticesToExceptions="true" + convertWarningsToExceptions="true" + processIsolation="false" + stopOnFailure="false"> + <testsuites> + <testsuite name="Unit"> + <directory suffix="Test.php">./tests/Unit</directory> + </testsuite> + + <testsuite name="Feature"> + <directory suffix="Test.php">./tests/Feature</directory> + </testsuite> + </testsuites> + <filter> + <whitelist processUncoveredFilesFromWhitelist="true"> + <directory suffix=".php">./app</directory> + </whitelist> + </filter> + <php> + <server name="APP_ENV" value="testing"/> + <server name="BCRYPT_ROUNDS" value="4"/> + <server name="CACHE_DRIVER" value="array"/> + <server name="MAIL_DRIVER" value="array"/> + <server name="QUEUE_CONNECTION" value="sync"/> + <server name="SESSION_DRIVER" value="array"/> + </php> +</phpunit> |