phpunit.xml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. <testsuite name="ContentOutput">
  15. <directory suffix="Test.php">./tests/ContentManage/Output</directory>
  16. </testsuite>
  17. <testsuite name="ContentOutputBook">
  18. <directory suffix="Test.php">./tests/ContentManage/Http/Controllers</directory>
  19. </testsuite>
  20. </testsuites>
  21. <coverage processUncoveredFiles="true">
  22. <include>
  23. <directory suffix=".php">./app</directory>
  24. </include>
  25. </coverage>
  26. <php>
  27. <env name="APP_ENV" value="testing"/>
  28. <env name="BCRYPT_ROUNDS" value="4"/>
  29. <env name="CACHE_DRIVER" value="array"/>
  30. <!-- <env name="DB_CONNECTION" value="sqlite"/> -->
  31. <!-- <env name="DB_DATABASE" value=":memory:"/> -->
  32. <env name="MAIL_MAILER" value="array"/>
  33. <env name="QUEUE_CONNECTION" value="sync"/>
  34. <env name="SESSION_DRIVER" value="array"/>
  35. <env name="TELESCOPE_ENABLED" value="false"/>
  36. </php>
  37. </phpunit>