-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
🤔 What's the problem you've observed?
Hi!
We've been having a bit of a discussion over Examples.tableHeader
:
messages/jsonschema/GherkinDocument.json
Line 138 in e1537b0
"tableHeader": { |
The spec defines it as optional since the beginning.
Whereas tableBody
used to be optional and is now required since ce9f289#diff-69252728078b60bf59750707428b38924591264e92497fef90006dd33402e70aR112.
In practice the header is required to be able to replace placeholders effectively: https://cucumber.io/docs/gherkin/reference/#scenario-outline
As far as I can see there are no test fixtures on this case.
✨ Do you have a proposal for making it better?
- Would be great to have some consensus:
- Should tableHeader also be required?
- If not, should we pick the first tableBody row as the header?
- and additionally, a test/fixture to disambiguate the situation
📚 Any additional context?
No response
Metadata
Metadata
Assignees
Labels
No labels