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 the arguments property of scenario steps in CucumberJS JSON #43

Open
Tracked by #25
delatrie opened this issue Dec 20, 2024 · 0 comments · May be fixed by #42
Open
Tracked by #25

Support the arguments property of scenario steps in CucumberJS JSON #43

delatrie opened this issue Dec 20, 2024 · 0 comments · May be fixed by #42
Assignees

Comments

@delatrie
Copy link
Collaborator

delatrie commented Dec 20, 2024

CucumberJS emits step arguments in the following format:

{
  "arguments": [
    {
      "content": "Lorem Ipsum...",
      "line": 7
    }
  ]
}
{
  "arguments": [
    {
      "rows": [
        { "cells": ["a", "b"] },
        { "cells": ["1", "2"] },
        { "cells": ["3", "4"] }
      ]
    }
  ]
}

Which differs from how the reference implementation of the JSON formatter emits them.

@delatrie delatrie changed the title Step docstrings and data tables are wrapped in arguments: Support the arguments property of scenario steps in CucumberJS JSON Dec 20, 2024
@delatrie delatrie linked a pull request Dec 20, 2024 that will close this issue
@delatrie delatrie self-assigned this Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant