mirror of
https://github.com/pnx/neotest-phpunit
synced 2026-06-16 03:54:55 +02:00
wip
This commit is contained in:
parent
ec3545a773
commit
bccafece1a
2 changed files with 10 additions and 1 deletions
|
|
@ -17,6 +17,7 @@ local M = {
|
||||||
sail_executable = "vendor/bin/sail",
|
sail_executable = "vendor/bin/sail",
|
||||||
pest_cmd = "vendor/bin/pest",
|
pest_cmd = "vendor/bin/pest",
|
||||||
parallel = 0,
|
parallel = 0,
|
||||||
|
compact = false,
|
||||||
},
|
},
|
||||||
|
|
||||||
_sail_error = false,
|
_sail_error = false,
|
||||||
|
|
|
||||||
|
|
@ -141,10 +141,18 @@ function NeotestAdapter.build_spec(args)
|
||||||
command = vim.tbl_flatten({
|
command = vim.tbl_flatten({
|
||||||
command,
|
command,
|
||||||
"--parallel",
|
"--parallel",
|
||||||
config('parallel'),
|
"--processes=" .. config('parallel'),
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- if config('compact') == true then
|
||||||
|
-- info("Using compact output")
|
||||||
|
-- command = vim.tbl_flatten({
|
||||||
|
-- command,
|
||||||
|
-- "--compact",
|
||||||
|
-- })
|
||||||
|
-- end
|
||||||
|
|
||||||
debug("Command:", command)
|
debug("Command:", command)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue