Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Rule keyword (Gherkin 6) #1451

Open
Zayon opened this issue Dec 5, 2023 · 2 comments
Open

Add support for Rule keyword (Gherkin 6) #1451

Zayon opened this issue Dec 5, 2023 · 2 comments

Comments

@Zayon
Copy link

Zayon commented Dec 5, 2023

Since Gherkin version 6 a new keyword "Rule" has been added to the Gherkin syntax.

See the Gherkin Reference for usage examples of the Rule keyword

Feature: Highlander

  Rule: There can be only One

    Scenario: Only One -- More than one alive
      Given there are 3 ninjas
      And there are more than one ninja alive
      When 2 ninjas meet, they will fight
      Then one ninja dies (but not me)
      And there is one ninja less alive

    Scenario: Only One -- One alive
      Given there is only 1 ninja alive
      Then he (or she) will live forever ;-)

  Rule: There can be Two (in some cases)

    Scenario: Two -- Dead and Reborn as Phoenix
      Given ....

Related to #1404

@ciaranmcnulty
Copy link
Contributor

Yep, #1404 addresses this but progress has stalled somewhat

@Zayon
Copy link
Author

Zayon commented Dec 6, 2023

Can I help somehow ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants