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 request: Cucumber "message" formatter replaces "json" #616

Open
benjaoming opened this issue Apr 28, 2023 · 0 comments
Open

Feature request: Cucumber "message" formatter replaces "json" #616

benjaoming opened this issue Apr 28, 2023 · 0 comments

Comments

@benjaoming
Copy link

Thanks for a great project!! 👋

According to the README for cucumber-js, the json formatter is in "maintenance" mode and seems to be slightly discouraged: https://github.com/cucumber/cucumber-js/blob/main/docs/formatters.md#json

Note: this formatter is in maintenance mode and won't have new features added to it. Where you need a structured data representation of your test run, it's best to use the message formatter. Tools that rely on this formatter will continue to work, but are encouraged to migrate to consume the message output instead.

I'm not sure exactly how to map the former JSON output to the new message format.

The format is specified in detail here: https://github.com/cucumber/messages

Note: I don't actually need the richness of the message formatter. In my case, it's just a simple reporting tool that doesn't support the legacy JSON format and likely won't build an implementation for it.

@benjaoming benjaoming changed the title Cucumber "message" formatter replaces "json" Feature request: Cucumber "message" formatter replaces "json" Apr 28, 2023
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

1 participant