phpunit.xml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
  5. bootstrap="vendor/autoload.php"
  6. colors="true"
  7. >
  8. <testsuites>
  9. <!-- Admin package testsuites. -->
  10. <testsuite name="Admin Feature Test">
  11. <directory suffix="Test.php">packages/Webkul/Admin/tests/Feature</directory>
  12. </testsuite>
  13. <!-- Core package testsuites. -->
  14. <testsuite name="Core Unit Test">
  15. <directory suffix="Test.php">packages/Webkul/Core/tests/Unit</directory>
  16. </testsuite>
  17. <!-- DataGrid package testsuites. -->
  18. <testsuite name="DataGrid Unit Test">
  19. <directory suffix="Test.php">packages/Webkul/DataGrid/tests/Unit</directory>
  20. </testsuite>
  21. <!-- Installer package testsuites. -->
  22. <testsuite name="Installer Feature Test">
  23. <directory suffix="Test.php">packages/Webkul/Installer/tests/Feature</directory>
  24. </testsuite>
  25. <!-- Shop package testsuites. -->
  26. <testsuite name="Shop Feature Test">
  27. <directory suffix="Test.php">packages/Webkul/Shop/tests/Feature</directory>
  28. </testsuite>
  29. </testsuites>
  30. <source>
  31. <include>
  32. <directory>app</directory>
  33. <directory>packages</directory>
  34. </include>
  35. </source>
  36. <php>
  37. <env name="APP_ENV" value="testing"/>
  38. <env name="APP_MAINTENANCE_DRIVER" value="file"/>
  39. <env name="BCRYPT_ROUNDS" value="4"/>
  40. <env name="CACHE_STORE" value="array"/>
  41. <env name="MAIL_MAILER" value="array"/>
  42. <env name="PULSE_ENABLED" value="false"/>
  43. <env name="QUEUE_CONNECTION" value="sync"/>
  44. <env name="SESSION_DRIVER" value="array"/>
  45. <env name="TELESCOPE_ENABLED" value="false"/>
  46. </php>
  47. </phpunit>