phpunit.xml 1.1 KB

12345678910111213141516171819202122232425262728293031
  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 suffix="Test.php">./tests/Unit</directory>
  10. </testsuite>
  11. <testsuite name="Feature">
  12. <directory suffix="Test.php">./tests/Feature</directory>
  13. </testsuite>
  14. </testsuites>
  15. <coverage processUncoveredFiles="true">
  16. <include>
  17. <directory suffix=".php">./app</directory>
  18. </include>
  19. </coverage>
  20. <php>
  21. <env name="APP_ENV" value="testing"/>
  22. <env name="BCRYPT_ROUNDS" value="4"/>
  23. <env name="CACHE_DRIVER" value="array"/>
  24. <!-- <env name="DB_CONNECTION" value="sqlite"/> -->
  25. <!-- <env name="DB_DATABASE" value=":memory:"/> -->
  26. <env name="MAIL_MAILER" value="array"/>
  27. <env name="QUEUE_CONNECTION" value="sync"/>
  28. <env name="SESSION_DRIVER" value="array"/>
  29. <env name="TELESCOPE_ENABLED" value="false"/>
  30. </php>
  31. </phpunit>