phpunit.xml 1.2 KB

123456789101112131415161718192021222324252627282930313233
  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. >
  7. <testsuites>
  8. <testsuite name="Unit">
  9. <directory>tests/Unit</directory>
  10. </testsuite>
  11. <testsuite name="Feature">
  12. <directory>tests/Feature</directory>
  13. </testsuite>
  14. </testsuites>
  15. <source>
  16. <include>
  17. <directory>app</directory>
  18. </include>
  19. </source>
  20. <php>
  21. <env name="APP_ENV" value="testing"/>
  22. <env name="APP_MAINTENANCE_DRIVER" value="file"/>
  23. <env name="BCRYPT_ROUNDS" value="4"/>
  24. <env name="CACHE_STORE" value="array"/>
  25. <!-- <env name="DB_CONNECTION" value="sqlite"/> -->
  26. <!-- <env name="DB_DATABASE" value=":memory:"/> -->
  27. <env name="MAIL_MAILER" value="array"/>
  28. <env name="PULSE_ENABLED" value="false"/>
  29. <env name="QUEUE_CONNECTION" value="sync"/>
  30. <env name="SESSION_DRIVER" value="array"/>
  31. <env name="TELESCOPE_ENABLED" value="false"/>
  32. </php>
  33. </phpunit>