phpunit.xml 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit backupGlobals="false"
  3. backupStaticAttributes="false"
  4. bootstrap="bootstrap/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="SESSION_DRIVER" value="array"/>
  28. <env name="QUEUE_DRIVER" value="sync"/>
  29. </php>
  30. </phpunit>