Skip to content

Parsing error when starting a scenario with an And #291

@cdmistman

Description

@cdmistman

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovement of existing features or bugfixk::designRelated to overall design and/or architecture

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions