You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.6 KiB

2 years ago
2 years ago
2 years ago
2 years ago
  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="iLaravel" >-->
  15. <!-- <directory suffix="Test.php">./tests/iLaravel</directory>-->
  16. <!-- </testsuite>-->
  17. </testsuites>
  18. <coverage processUncoveredFiles="true">
  19. <include>
  20. <directory suffix=".php">./app</directory>
  21. </include>
  22. </coverage>
  23. <php>
  24. <env name="APP_ENV" value="testing"/>
  25. <env name="DOMAIN_NAME" value="file"/>
  26. <env name="BCRYPT_ROUNDS" value="4"/>
  27. <env name="CACHE_DRIVER" value="array"/>
  28. <env name="DB_CONNECTION" value="mysql"/>
  29. <env name="DB_HOST" value="mysql"/>
  30. <env name="DB_DATABASE" value="test"/>
  31. <env name="DB_USERNAME" value="root"/>
  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. <env name="MONGO_HOST" value="mongodb"/>
  37. <env name="MONGO_DATABASE" value="test"/>
  38. <env name="MONGO_PORT" value="27017"/>
  39. <env name="MONGO_USERNAME" value="root"/>
  40. <env name="MONGO_PASSWORD" value="root"/>
  41. </php>
  42. </phpunit>