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

[feature] Add support for the "Rule" keyword #1152

Closed
harmin-parra opened this issue Dec 20, 2023 · 1 comment
Closed

[feature] Add support for the "Rule" keyword #1152

harmin-parra opened this issue Dec 20, 2023 · 1 comment

Comments

@harmin-parra
Copy link

The Rule keyword has recently been introduced in the Gherkin language.
https://cucumber.io/docs/gherkin/reference/#rule

It is often used in conjunction with the Example keyword.

Today, behave doesn't support this.
Features with the Rule keyword are skipped.

Feature: Calculator
  Rule:
  Addition should work
  Example: Add 2 and 1
  Given I have a calculator
  When I add "2" and "1"
  Then the calculator returns "3"
0 features passed, 0 failed, 1 skipped
0 scenarios passed, 0 failed, 0 skipped
0 steps passed, 0 failed, 0 skipped, 0 undefined
Took 0m0.000s

Is there any plan to add support for Rule and Example keywords?

@harmin-parra harmin-parra changed the title [feature] Add support the "Rule" keyword [feature] Add support for the "Rule" keyword Dec 20, 2023
@jenisys
Copy link
Member

jenisys commented Dec 21, 2023

The Rule keyword is already supported.
You currently need to use the releases in the Github repo.

SEE ALSO:

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

No branches or pull requests

2 participants