Skip to content

:TestSuite does not run go testify suite #845

@Bekaboo

Description

@Bekaboo

First of all thank you for making this plugin! It makes testing a joyful and effortless experience in vim/neovim.

I use Go and the testify testing framework a lot in work. The :TestNearest works perfectly as it only runs a single test function in a testify suite with

go test ./proj/pkg -run 'TestFooSuite$' -testify.m 'TestBar'

but :TestSuite runs test with

go test ./...

which runs all tests in a package instead of just the testify test suite in the current file. The expected test command is:

go test ./proj/pkg -run 'TestFooSuite$'. # much the same as the test nearest command without specifying a particular test function

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions