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

Parsing error when starting a scenario with an And #291

Open
cdmistman opened this issue Jul 6, 2023 · 1 comment
Open

Parsing error when starting a scenario with an And #291

cdmistman opened this issue Jul 6, 2023 · 1 comment
Labels
enhancement Improvement of existing features or bugfix k::design Related to overall design and/or architecture

Comments

@cdmistman
Copy link

in the openCypher TCK there exists a feature which contains scenarios that start with And steps. These And steps follow the Background Given to provide more complete scenarios.

AFAICT, the Gherkin reference doesn't say And steps must succeed a Given, When, or Then step, but cucumber-rs throws parsing errors when this happens. Perhaps to remediate this, cucumber-rs should allow for And steps at the beginning of a Scenario which are implied to extend the Background steps?

@tyranron tyranron added enhancement Improvement of existing features or bugfix k::design Related to overall design and/or architecture labels Jul 7, 2023
@tyranron
Copy link
Member

tyranron commented Jul 7, 2023

@cdmistman makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of existing features or bugfix k::design Related to overall design and/or architecture
Projects
None yet
Development

No branches or pull requests

2 participants