phpunit.xml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit backupGlobals="false"
  3. backupStaticAttributes="false"
  4. bootstrap="tests/bootstrap.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. <server name="APP_ENV" value="testing"/>
  26. <server name="BCRYPT_ROUNDS" value="4"/>
  27. <server name="CACHE_DRIVER" value="array"/>
  28. <server name="MAIL_DRIVER" value="array"/>
  29. <server name="QUEUE_CONNECTION" value="sync"/>
  30. <server name="SESSION_DRIVER" value="array"/>
  31. <server name="APP_CONFIG_CACHE" value="bootstrap/cache/config.phpunit.php"/>
  32. <server name="APP_SERVICES_CACHE" value="bootstrap/cache/services.phpunit.php"/>
  33. <server name="APP_PACKAGES_CACHE" value="bootstrap/cache/packages.phpunit.php"/>
  34. <server name="APP_ROUTES_CACHE" value="bootstrap/cache/routes.phpunit.php"/>
  35. <server name="APP_EVENTS_CACHE" value="bootstrap/cache/events.phpunit.php"/>
  36. </php>
  37. </phpunit>