config: fail to recognize go_test_args parameter
#344
Unanswered
0xBradock
asked this question in
Configuration
Replies: 3 comments 1 reply
|
Hey @0xBradock are you able to get the |
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, |
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-golangYour Neotest and neotest-golang Lua setup
Describe the problem
When running
go test -v -coverprofile=coverage.out ./...from terminal the filecoverage.outis created. However, when I do<leader>tlfrom a test file in the root of a project I see the tests executing, but there's nocoverage.outfile created.As I specified the
go_test_argsI hopped to get the coverage file created.All reactions