config: fail to recognize go_test_args
parameter
#344
Unanswered
0xBradock
asked this question in
Configuration
Replies: 3 comments 1 reply
-
Well, I just founded here |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey @0xBradock are you able to get the |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hello @fredrikaverpil, yes it is all working for me, thanks. go_test_args = {
"-v",
"-race",
"-count=1",
-- EDIT
"-coverprofile=" .. vim.fn.getcwd() .. "/coverage.out",
}, And it is good for me. Cheers, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Did you check docs and existing issues?
Neovim version (nvim -v)
0.11.1
Operating system/version
EndeavourOS
Output from
:checkhealth neotest-golang
Your Neotest and neotest-golang Lua setup
Describe the problem
When running
go test -v -coverprofile=coverage.out ./...
from terminal the filecoverage.out
is created. However, when I do<leader>tl
from a test file in the root of a project I see the tests executing, but there's nocoverage.out
file created.As I specified the
go_test_args
I hopped to get the coverage file created.Beta Was this translation helpful? Give feedback.
All reactions