From d37c9e54e015a7f8cd5d8d30d122d7baa30d139f Mon Sep 17 00:00:00 2001 From: Maksym Kryvchun Date: Sat, 16 Sep 2023 06:02:37 +0300 Subject: [PATCH] docs: document vs-code extension (#99) --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index a9178a7..c423484 100644 --- a/README.md +++ b/README.md @@ -152,6 +152,18 @@ cp ./bin/gherkingen /usr/local/bin chmod +x /usr/local/bin ``` +## Visual Studio Code extension + +The extension for VS-Code that helps to generate Behaviour Driven Development (BDD) boilerplate Golang tests. It uses docker to run `gherkingen`. + +https://marketplace.visualstudio.com/items?itemName=hedhyw.golang-gherkingen&ssr=false#overview + +Launch VS Code Quick Open (Ctrl+P or Cmd+P), paste the following command, and press enter: `ext install hedhyw.golang-gherkingen`. + +Usage of the extension (in any .feature file): +- Open the command palette (Ctrl+Shift+P or Cmd+Shift+P) and search for "Go: Generate BDD Golang test". +- Or, click the button "Generate BDD Golang test" in the editor's menu. + # Usage ## Simple usage