phpunit.xml 1.2 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. <server name="APP_ENV" value="testing"/>
  22. <server name="BCRYPT_ROUNDS" value="4"/>
  23. <server name="CACHE_DRIVER" value="array"/>
  24. <!-- <server name="DB_CONNECTION" value="sqlite"/> -->
  25. <!-- <server name="DB_DATABASE" value=":memory:"/> -->
  26. <server name="MAIL_MAILER" value="array"/>
  27. <server name="QUEUE_CONNECTION" value="sync"/>
  28. <server name="SESSION_DRIVER" value="array"/>
  29. <server name="TELESCOPE_ENABLED" value="false"/>
  30. </php>
  31. </phpunit>