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

Support "Rule" Keyword and ndjson #254

Open
sashokbg opened this issue Oct 15, 2021 · 3 comments
Open

Support "Rule" Keyword and ndjson #254

sashokbg opened this issue Oct 15, 2021 · 3 comments

Comments

@sashokbg
Copy link

As of gherkin v6 a new kyword "Rule" has been added that allows to group multiple Scenarios under a business Rule.

https://cucumber.io/docs/gherkin/reference/?sbsearch=rule%20keyword#rule

Also it seems the json formatter is deprecated and will be removed and replaced by ndjson.

Proposal:

  • Rework the parsing and replace the json parser with ndjson.
  • Add missing keyworkds
@Niemetz
Copy link

Niemetz commented Apr 13, 2022

Hi @sashokbg
Would you please tell me how install ndjson and how to configure the "cucumber-reports" so that it can pick up the cucumber "Rule" section?
Thanks so much.
J.N
PS: I'm using Playwright with Typescript.

@sashokbg
Copy link
Author

Hello @Niemetz IMHO you shoud use the integrated html reporter for cucumber that is based on react:

https://github.com/cucumber/react-components

It supports all the new keywords

@Niemetz
Copy link

Niemetz commented Apr 13, 2022 via email

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