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 · 1 comment
Open

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

benjaoming opened this issue Apr 28, 2023 · 1 comment
Labels
blocked Currently blocked by a dependency from being developed/fixed feature

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
@jsa34
Copy link
Collaborator

jsa34 commented Nov 28, 2024

This is currently blocked until Cucumber provides a messages implementation in Python.

There's currently a PR open but not resolved: cucumber/messages#165

@jsa34 jsa34 added blocked Currently blocked by a dependency from being developed/fixed feature labels Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Currently blocked by a dependency from being developed/fixed feature
Projects
None yet
Development

No branches or pull requests

2 participants