phpunit.xml 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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="Unit">
  13. <directory suffix="Test.php">./tests/Unit</directory>
  14. </testsuite>
  15. <testsuite name="Feature">
  16. <directory suffix="Test.php">./tests/Feature</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="BCRYPT_ROUNDS" value="4"/>
  27. <env name="CACHE_DRIVER" value="array"/>
  28. <env name="SESSION_DRIVER" value="array"/>
  29. <env name="QUEUE_DRIVER" value="sync"/>
  30. <env name="MAIL_DRIVER" value="array"/>
  31. </php>
  32. </phpunit>