Can't generate steps to a file
See original GitHub issueIs it possible to add a functionality which allow us to generate steps to a specified target file,
It could be something like this: cucumber-js login.feature --step login.steps.js
, which could generate a login.steps.js
file.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Cucumber:- Unable to generate step definitions by running ...
I am trying to generate the step definitions from my feature file and as well as I have also designed test runner class...
Read more >Running Cucumber feature file doesn't generate step definitions
Running Cucumber feature file doesn't generate step definitions · 1. Create a .feature file · 2. Write some Gherkin · 3. Run the...
Read more >Cannot Generate Step definitions as All steps already bound
Add new feature file and specify some scenarios, right click and select "Generate Step Definitions" a pop up is generated saying that all...
Read more >No Option To "Generate Step Definitions" In Specflow
Right Click In The Code Editor (And Not The Solution Explorer) And The Option To "Generate Step Definitions" Is There.
Read more >Unable to create Step Definition file from Specflow feature file
My current issue is I cannot create Step Definition file from he .feature file. The option is not available in the option menu...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can get something close with
Use the
--dry-run
flag to prevent it from running any defined steps. Use the snippets formatter which prints just the snippets for undefined steps.The outputted file will need a few updates to make it work but with all the different languages that transpile to javascript I think that the best we can get.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.