Skip to content

Background may need clarificationΒ #103

@bgusach

Description

@bgusach

πŸ‘“ What did you see?

According to the docs:

You can only have one set of Background steps per Feature or Rule

https://cucumber.io/docs/gherkin/reference/#background

It's not clear to me whether:

a) Both feature and rule can have a background
b) Either feature or rule can have a background, but not both.

I think it's (a), but that sentence needs clarification.

βœ… What did you expect to see?

Maybe something like this?

A Feature can have only one set of Background steps. The same goes for a Rule. Both a Rule and its Feature may have a Background at the same time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions