-
Notifications
You must be signed in to change notification settings - Fork 906
Add lenses for ginkgo to run specific tests #228
Copy link
Copy link
Open
Labels
Go CompanionIssues relating to the Go Companion extensionIssues relating to the Go Companion extensionNeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.Feedback is required from experts, contributors, and/or the community before a change can be made.go-testissues related to go test support (test output, test explorer, ...)issues related to go test support (test output, test explorer, ...)goplsgopls related issuesgopls related issues
Milestone
Metadata
Metadata
Assignees
Labels
Go CompanionIssues relating to the Go Companion extensionIssues relating to the Go Companion extensionNeedsDecisionFeedback is required from experts, contributors, and/or the community before a change can be made.Feedback is required from experts, contributors, and/or the community before a change can be made.go-testissues related to go test support (test output, test explorer, ...)issues related to go test support (test output, test explorer, ...)goplsgopls related issuesgopls related issues
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
External
If you have a question, please ask it on the
#vscodeor#vscode-gochannels 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 testwhich 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.focusflag when running thego testcommand.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.