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
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions