Closed a-h closed 1 year ago
I've created some custom configuration to create a coverage file.
local nvimtest = require('nvim-test') require('nvim-test.runners.go-test'):setup { args = { "test", "-v", "-cover", "-coverprofile", "coverage.out" }, } nvimtest.setup()
And I can see that the configuration works:
But no coverage.out file gets created.
coverage.out
When I run it myself, it works fine.
go test -cover -coverprofile=coverage.out ./...
If I change the args to be nonsensical...
And run the test, well... it still works!
It looks like the args are completely ignored.
I have no idea how to view the command that was actually executed.
Sorry, my mistake. I had vim-test and nvim-test installed at the same time. Removing vim-test made it work perfectly.
vim-test
nvim-test
I've created some custom configuration to create a coverage file.
And I can see that the configuration works:
But no
coverage.out
file gets created.When I run it myself, it works fine.
If I change the args to be nonsensical...
And run the test, well... it still works!
It looks like the args are completely ignored.
I have no idea how to view the command that was actually executed.