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.

16 lines
524 B

  1. require("neotest").setup({
  2. adapters = {
  3. require("neotest-phpunit")({
  4. root_files = { "phpunit.xml", "composer.json" },
  5. phpunit_cmd = { "docker-compose exec fpm ./vendor/bin/phpunit" },
  6. filter_dirs = { "vendor" }
  7. }),
  8. },
  9. })
  10. require("neotest-phpunit")({
  11. root_files = { "phpunit.xml", "composer.json" },
  12. phpunit_cmd = { "docker-compose", "exec", "fpm", "./vendor/bin/phpunit" },
  13. -- phpunit_cmd = { "vendor/bin/phpunit" },
  14. filter_dirs = { "vendor" }
  15. })