Skip to content

Allowing when steps to follow then steps? #118

@lrowe

Description

@lrowe

While it is generally good practice to order steps Given/When/Then it can sometimes be expedient to check conditions part way through a complex scenario (e.g. a multi-page form.)

I think the ordering checks in feature.py should be relaxed.

Cucumber doesn't distinguish between step types internally and does not enforce ordering. With behave one can register for all keywords using the step() decorator and ordering is not enforced.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions