Add lenses for ginkgo to run specific tests #228
Labels
Go Companion
Issues relating to the Go Companion extension
go-test
issues related to go test support (test output, test explorer, ...)
gopls
gopls related issues
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
If you have a question, please ask it on the
#vscode
or#vscode-go
channels in Gophers Slack](https://invite.slack.golangbridge.org/messages/vscode).Is your feature request related to a problem? Please describe.
Ginkgo is a widely used BDD testing framework, which is used to describe individual specs. Ginkgo also offers cli options that are added when you run
go test
which can be leveraged for lenses.Describe the solution you'd like
Today, vscode offers a way to run individual go tests as shown in the picture below.
It'd be great to have the same functionality on each ginkgo-spec using its name as input to
ginkgo.focus
flag when running thego test
command.Describe alternatives you've considered
The only other way to run ginkgo individual tests today is to run the tests from the command line.
Additional context
Happy to help with coding a solution up given enough guidance.
The text was updated successfully, but these errors were encountered: