phpunit.xml 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit backupGlobals="false"
  3. backupStaticAttributes="false"
  4. bootstrap="vendor/autoload.php"
  5. colors="true"
  6. convertErrorsToExceptions="true"
  7. convertNoticesToExceptions="true"
  8. convertWarningsToExceptions="true"
  9. processIsolation="false"
  10. stopOnFailure="false">
  11. <testsuites>
  12. <testsuite name="Feature">
  13. <directory suffix="Test.php">./tests/Feature</directory>
  14. </testsuite>
  15. <testsuite name="Unit">
  16. <directory suffix="Test.php">./tests/Unit</directory>
  17. </testsuite>
  18. </testsuites>
  19. <filter>
  20. <whitelist processUncoveredFilesFromWhitelist="true">
  21. <directory suffix=".php">./app</directory>
  22. </whitelist>
  23. </filter>
  24. <php>
  25. <env name="APP_ENV" value="testing"/>
  26. <env name="CACHE_DRIVER" value="array"/>
  27. <env name="DB_DATABASE" value="laravel_blog_testing" />
  28. <env name="SESSION_DRIVER" value="array"/>
  29. <env name="QUEUE_DRIVER" value="sync"/>
  30. </php>
  31. </phpunit>