phpunit.xml 1.1 KB

123456789101112131415161718192021222324252627282930
  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. bootstrap="vendor/autoload.php"
  5. colors="true">
  6. <testsuites>
  7. <testsuite name="Unit">
  8. <directory suffix="Test.php">./tests/Unit</directory>
  9. </testsuite>
  10. <testsuite name="Feature">
  11. <directory suffix="Test.php">./tests/Feature</directory>
  12. </testsuite>
  13. </testsuites>
  14. <filter>
  15. <whitelist processUncoveredFilesFromWhitelist="true">
  16. <directory suffix=".php">./app</directory>
  17. </whitelist>
  18. </filter>
  19. <php>
  20. <server name="APP_ENV" value="testing"/>
  21. <server name="BCRYPT_ROUNDS" value="4"/>
  22. <server name="CACHE_DRIVER" value="array"/>
  23. <server name="DB_CONNECTION" value="sqlite"/>
  24. <server name="DB_DATABASE" value=":memory:"/>
  25. <server name="MAIL_DRIVER" value="array"/>
  26. <server name="QUEUE_CONNECTION" value="sync"/>
  27. <server name="SESSION_DRIVER" value="array"/>
  28. </php>
  29. </phpunit>