Cucumber Step Definition Generator for Cypress and PlayWright
Cucumber Step Definition Generator for Cypress and PlayWright is a tool to generate the BDD step definition in VS Code for Cypress and PlayWright or other Java Script based framework which uses the plaugin cypress-cucumber-preprocessor for using Cucumber.
Getting started: Setting up Cucumber Integration in Your project using in VS Code IDE
Different options available to Generate the Step Definition:
[a] - Generate step definition for the selected step(s) in Clipborad
[b] - Generate step definition with creating a new java script file automatically as instructed by cypress-cucumber-preprocessor plaugin.
Using the extension:
Open any .feature file in vs code editor
Select the step(s) which needs to generate step definition(s)
Right click on the editor and select the appropriate option to generate the Step Definition(s)
Extension create the required folder structure i.e. folder with feature file name and then js file under that folder if folder doesn't exists, otherwise append the existing step definition js file if already exits.
Future Enhancements/Known Bugs:
Handling Table paramemter in step deinition currently it is not adding Table parameter in step definition.
Existing Steps Definition checking while generating steps definitions.