-
Notifications
You must be signed in to change notification settings - Fork 73
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 #270
Comments
Hi @21Aby, It doesn't currently support it. If I understand correctly a "Rule" is just a way of associating scenarios. They're no additional behaviour beyond this. I think it should be possible to implement, but will give it some more thought. |
@cressie176 Thank you for the reply. As you said, the main purpose of
This would really help in our test cases a lot. Thanks & Regards |
Understood. I guess the workaround at the moment is to have one feature file per rule? |
Is the only difference between a Feature and a Rule, that a Feature can contain Rules, but that a Rule cannot contain child rules? |
Never seen a usage like a Child Rule inside another Rule. Right now , what we are following is like; creating a feature file for each Say, we can have Rules based on the CRUD operations.
Means More number of files. Thats one main reason we are looking into the |
Rule
I would like to know whether Yadda can support the Rule feature in Gherkin Scenarios ?
https://cucumber.io/docs/gherkin/reference/#rule
Please update on this.
Thanks
The text was updated successfully, but these errors were encountered: