diff options
| author | horus | 2020-04-02 21:52:04 +0200 |
|---|---|---|
| committer | horus | 2020-04-02 21:52:04 +0200 |
| commit | 5a8c47e29afdbb61c32c1e03162abb1bb871ee9e (patch) | |
| tree | 19cd2e0c48119a703306a71df813d07666289e8f /phpunit.xml | |
| download | curious-5a8c47e29afdbb61c32c1e03162abb1bb871ee9e.tar.gz | |
Initial commit.
Diffstat (limited to 'phpunit.xml')
| -rw-r--r-- | phpunit.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..383f71e --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd" + bootstrap="vendor/autoload.php" + colors="true"> + <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="DB_CONNECTION" value="sqlite"/> + <server name="DB_DATABASE" value=":memory:"/> + <server name="MAIL_MAILER" value="array"/> + <server name="QUEUE_CONNECTION" value="sync"/> + <server name="SESSION_DRIVER" value="array"/> + </php> +</phpunit> |
