cucumber/docs

Question for Background with Feature and Rule

lsaudon opened this issue · 4 comments

Is this valid?

Feature: Feature name
    Background: Background name one
        Given whatever
    Scenario: Scenario name one
        Given something
    Rule: Rule name
        Background: Background name two
            Given whatever
        Scenario: Scenario name two
            Given something

And this?

The documentation say A Background is placed before the first Scenario/Example, at the same level of indentation.
I can't make this?

Feature: Feature name
    Background: Background name one
        Given whatever
    Rule: Rule name
        Background: Background name two
            Given whatever
        Scenario: Scenario name two
            Given something

Yes you can make that.

Please take questions to the support forum/slack though

Then the documentation is incomplete.

@lsaudon - please feel free to use the edit functionality on the docs website there should be a link on each page allowing you to edit them or pull the repo and make manual edits should you so wish. Any support you are able to give is greatly appreciated.

That's why I asked the question.