Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate steps from stepdefs #32

Merged
merged 9 commits into from
Apr 22, 2022
Merged

Conversation

aslakhellesoy
Copy link
Contributor

🤔 What's changed?

Improved ability to generate steps (StepDocument) from {Cucumber|Regular}Expressions that don't yet have any matching steps.

This code relies on cucumber/cucumber-expressions#108.

⚡️ What's your motivation?

Fix #16

🏷️ What kind of change is this?

  • 💥 Breaking change (incompatible changes to the API)

♻️ Anything particular you want feedback on?

It may be a good idea to also handle the generation of step documents for optionals and alternation in the same fix. The code in buildStepDocuments is rather complex and could need some simplification.

@aslakhellesoy aslakhellesoy marked this pull request as draft April 20, 2022 13:56
@aslakhellesoy aslakhellesoy marked this pull request as ready for review April 22, 2022 10:47
@aslakhellesoy aslakhellesoy changed the title WIP - generate steps from stepdefs Generate steps from stepdefs Apr 22, 2022
@aslakhellesoy aslakhellesoy merged commit 6c035c4 into main Apr 22, 2022
@aslakhellesoy aslakhellesoy deleted the steps-from-stepdefs-only branch April 22, 2022 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create step documents from steps even if there are no matching step definitions
1 participant