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

require("neotest").setup({
adapters = {
require("neotest-phpunit")({
root_files = { "phpunit.xml", "composer.json" },
phpunit_cmd = { "docker-compose exec fpm ./vendor/bin/phpunit" },
filter_dirs = { "vendor" }
}),
},
})
require("neotest-phpunit")({
root_files = { "phpunit.xml", "composer.json" },
phpunit_cmd = { "docker-compose", "exec", "fpm", "./vendor/bin/phpunit" },
-- phpunit_cmd = { "vendor/bin/phpunit" },
filter_dirs = { "vendor" }
})