go.nvim icon indicating copy to clipboard operation
go.nvim copied to clipboard

TestNearest with Ginkgo

Open rejoshed opened this issue 3 years ago • 0 comments

Hey, I'm having troubles getting GoTest -n to run anything when I'm using Ginkgo with It( style specs.

I just get a pop up menu that looks like: image

My config is:

require 'go'.setup({
    goimport = 'gopls', -- if set to 'gopls' will use golsp format
    gofmt = 'gopls', -- if set to gopls will use golsp format
    max_line_len = 120,
    tag_transform = false,
    test_dir = '',
    comment_placeholder = '   ',
    lsp_cfg = true, -- false: use your own lspconfig
    lsp_gofumpt = true, -- true: set default gofmt in gopls format to gofumpt
    lsp_on_attach = true, -- use on_attach from go.nvim
    dap_debug = true,
    test_runner = "ginkgo",
    verbose_tests = true,
    run_in_floaterm = true,
})

rejoshed avatar Aug 25 '22 00:08 rejoshed