-
-
Save javiergomezve/c0669b5cc0a3d2d30dc6c9d15c203b1e to your computer and use it in GitHub Desktop.
phpunit.xml Laravel 5.4 with sqlite memory database
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <phpunit backupGlobals="false" | |
| backupStaticAttributes="false" | |
| bootstrap="bootstrap/autoload.php" | |
| colors="true" | |
| convertErrorsToExceptions="true" | |
| convertNoticesToExceptions="true" | |
| convertWarningsToExceptions="true" | |
| processIsolation="false" | |
| stopOnFailure="false"> | |
| <testsuites> | |
| <testsuite name="Feature Tests"> | |
| <directory suffix="Test.php">./tests/Feature</directory> | |
| </testsuite> | |
| <testsuite name="Unit Tests"> | |
| <directory suffix="Test.php">./tests/Unit</directory> | |
| </testsuite> | |
| </testsuites> | |
| <filter> | |
| <whitelist processUncoveredFilesFromWhitelist="true"> | |
| <directory suffix=".php">./app</directory> | |
| </whitelist> | |
| </filter> | |
| <php> | |
| <env name="APP_ENV" value="testing"/> | |
| <env name="DB_CONNECTION" value="sqlite"/> | |
| <env name="DB_DATABASE" value=":memory:"/> | |
| <env name="CACHE_DRIVER" value="array"/> | |
| <env name="SESSION_DRIVER" value="array"/> | |
| <env name="QUEUE_DRIVER" value="sync"/> | |
| </php> | |
| </phpunit> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment