GoGherkinRunner helps you run and debug individual Gherkin scenarios in Go projects directly from VS Code. It is designed for teams working with .feature files and Go test integration, making it easy to execute or debug a single scenario with one click.
Features
CodeLens Buttons: Above every Scenario: line in .feature files, you get:
▶️ Run test: Runs only that scenario using your Go test setup.
🐞 Debug (Scenario N): Launches the VS Code debugger for that specific scenario, with all required environment variables.
Terminal Integration: Runs the Go test command in the integrated terminal, matching your project’s structure and environment.
Debug Integration: Launches a Go debug session with the correct -test.run and -dotenv-dir arguments.
Automatic Project Path Detection: Dynamically finds the correct Go package and environment directory for each scenario.