phpunit.xml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
  4. backupGlobals="false"
  5. backupStaticAttributes="false"
  6. bootstrap="vendor/autoload.php"
  7. colors="true"
  8. convertErrorsToExceptions="true"
  9. convertNoticesToExceptions="true"
  10. convertWarningsToExceptions="true"
  11. processIsolation="false"
  12. stopOnFailure="false">
  13. <testsuites>
  14. <testsuite name="Unit">
  15. <directory suffix="Test.php">./tests/Unit</directory>
  16. </testsuite>
  17. <testsuite name="Feature">
  18. <directory suffix="Test.php">./tests/Feature</directory>
  19. </testsuite>
  20. </testsuites>
  21. <filter>
  22. <whitelist processUncoveredFilesFromWhitelist="true">
  23. <directory suffix=".php">./app</directory>
  24. </whitelist>
  25. </filter>
  26. <php>
  27. <server name="APP_ENV" value="testing"/>
  28. <server name="BCRYPT_ROUNDS" value="4"/>
  29. <server name="CACHE_DRIVER" value="array"/>
  30. <server name="DB_CONNECTION" value="sqlite"/>
  31. <server name="DB_DATABASE" value=":memory:"/>
  32. <server name="MAIL_DRIVER" value="array"/>
  33. <server name="QUEUE_CONNECTION" value="sync"/>
  34. <server name="SESSION_DRIVER" value="array"/>
  35. </php>
  36. </phpunit>