-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Go step definitions support #130
Conversation
How to use PR-Agent
|
@CodiumAI-Agent /review |
PR Analysis
PR Feedback
How to use
|
What is the status of this PR? |
hei @mirogta wanna to check in what the progress is here and if you need some help by any chance?! |
What are the current blockers for this PR to be merged? I'm assuming that the first two comments raised by @CodiumAI-Agent should be fixed, but the third is not specific to the integration of Go, but I'm not certain. Is there anything else needed? |
How to use PR-Agent
|
That + the two branch conflicts + running a test that this actually works |
How to use PR-Agent
|
- Support for new 'Given', 'When', 'Then' step definitions - Support for 'interpreted_string_literal' with tree-sitter - Support tree-sitter-go v0.20.0 - Changed Go snippet implementation away from Rust version - Removed Rust snippet string prefix check from Go implementation - Removed commented Go language support code - Missing 'expression_statement' in tree-sitter query - Redundant VSCode extension settings - Redundant Go testdata lock files
Sincere thanks for this contribution @mirogta! We'll roll this into a coming release. Have tested and made the following changes:
Have recently overhauled the VSCode extension contributing guidelines, feel free to give it a go and raise a PR or issue if any improvements or feedback. |
Hi @mirogta, Thanks for your making your first contribution to Cucumber, and welcome to the Cucumber committers team! You can now push directly to this repo and all other repos under the cucumber organization! 🍾 In return for this generous offer we hope you will:
On behalf of the Cucumber core team, |
🤔 What's changed?
Used https://tree-sitter.github.io/tree-sitter/playground to figure out the syntax tree.
godog
doesn't have support for Parameter Types so not using it. (The other BDD library in Go, https://github.com/go-bdd/gobdd has support for Parameter Types, but it's obsolete…)godog
doesn't useGiven
,When
orThen
keywords, but instead a genericStep
keyword..vscode/launch.json
and.vscode/settings.json
committed, but I've left it there for my own sake to be able to debug this faster. Happy to remove them for the final commit before merging.⚡️ What's your motivation?
🏷️ What kind of change is this?
♻️ Anything particular you want feedback on?
Unit tests are passing… I'm new to vscode extension development, so please bear with me.
I'm trying to follow this and have added
go
support to bothcucumber/language-server
andcucumber/vscode
locally, but somehow I can't get it work. Can someone please advise how do I debug that? The guide incucumber/vscode
says "ChoseRun -> Run without debugging
".📋 Checklist:
This text was originally generated from a template, then edited by hand. You can modify the template here.