cypress-cucumber-preprocessor icon indicating copy to clipboard operation
cypress-cucumber-preprocessor copied to clipboard

Add on for gherking vs code

Open atemor opened this issue 6 years ago • 8 comments
trafficstars

Hello, Is there a way to manage more easily the gerkin that I am working with ? For exemple I am working in an ATDD structure, and I will like to know wich gerking sentence is covered by code.

atemor avatar Oct 28 '19 14:10 atemor

Hello

Not sure I understand. Is this working differently when you use pure cucumberjs? Is this a request to the cucumber vs code plugin, or for this project?

lgandecki avatar Nov 11 '19 18:11 lgandecki

There is excellent extension to work with Gherkin is VS Code: Cucumber (Gherkin) Full Support

Also, there are some additional commands (find unused step definitions, find step definitions references) for step definitions in my extension: Cypress Helper

Shelex avatar Nov 12 '19 07:11 Shelex

Hello

Not sure I understand. Is this working differently when you use pure cucumberjs? Is this a request to the cucumber vs code plugin, or for this project?

Hello Igandecki, As I am working on big site where I have to do all the acceptance test, it will represent a lot of different scenario wich are not link one to the other. So the idea is that when the PO start wrinting in Gherkin, only the revelet gherkin will be propose to the autocomplete and not all of them.

Thanks Shelex,

atemor avatar Nov 12 '19 08:11 atemor

I am working on a vscode extension specifically for working with Cypress + Cucumber. Not sure exactly when I will have public release ready though.

badeball avatar Apr 10 '22 16:04 badeball

There is excellent extension to work with Gherkin is VS Code: Cucumber (Gherkin) Full Support

Also, there are some additional commands (find unused step definitions, find step definitions references) for step definitions in my extension: Cypress Helper

Is there anyway to setup your extension to match the paths to lookup steps as in https://github.com/badeball/cypress-cucumber-preprocessor/blob/master/docs/step-definitions.md#step-definitions ? Cannot see the filepath replacement variable in your extension. Thx!

yann-combarnous avatar Apr 14 '22 06:04 yann-combarnous

one thing to add to this. is the current extension (Cucumber Full Support) doesn't support multi-root workspaces. the issue requesting support has been around for about 3 years. It's been a pain point.

onthespotqa avatar May 03 '22 05:05 onthespotqa

Cucumber has an official VSCode extension now:

  • https://github.com/cucumber/vscode/#readme
  • https://marketplace.visualstudio.com/items?itemName=CucumberOpen.cucumber-official

aslakhellesoy avatar Oct 06 '22 13:10 aslakhellesoy

Unfortunately the official VSCode extension still bugs out with not recognising Step Definitions

barrymichaeldoyle avatar Mar 24 '23 12:03 barrymichaeldoyle