Skip to content

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

Open

Description

@benjaoming

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.

Activity

  1. changed the title [-]Cucumber "message" formatter replaces "json"[/-] [+]Feature request: Cucumber "message" formatter replaces "json"[/+] on Apr 28, 2023
  2. jsa34 commented on Nov 28, 2024

    @jsa34
    Collaborator

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

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

  3. added
    blockedCurrently blocked by a dependency from being developed/fixed
    on Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedCurrently blocked by a dependency from being developed/fixedfeature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions