You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I've used a number of different gherkin based BDD frameworks in the past and code generation was always a killer feature.
Even if it only meant dumping missing steps to the console, it was always a huge help.
Describe the solution you'd like
I think there are several things we could do here:
godog just dumps the missing steps (with regex) to the console, which is nice.
We could generate a default file (features_test.go ?) with the same (probably a bit more) content (if it doesn't already exist)
probably more?
Additional context
I wouldn't say this should have the highest priority, especially compared to the required work vs benefit, but it's worth talking about.
This would also require a CLI tool.
The text was updated successfully, but these errors were encountered:
That's definitely something I was planning to add but cannot do that as long as the API isn't stable.
I like what godog does here - the user has to only copy + paste the code and fill the gaps.
About generating any files - it will be more difficult because we'll have to give some options to use like change file/directory and the package's name etc. Dumping missing steps sounds great to me :)
Is your feature request related to a problem? Please describe.
I've used a number of different gherkin based BDD frameworks in the past and code generation was always a killer feature.
Even if it only meant dumping missing steps to the console, it was always a huge help.
Describe the solution you'd like
I think there are several things we could do here:
features_test.go
?) with the same (probably a bit more) content (if it doesn't already exist)Additional context
I wouldn't say this should have the highest priority, especially compared to the required work vs benefit, but it's worth talking about.
This would also require a CLI tool.
The text was updated successfully, but these errors were encountered: