You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This behavior is obviously broken but it snuck into almost every implementation unnoticed. I added a test case to confirm this is the current behavior. This was intended to ensure all parsers were at least consistently wrong. Feel free to change this testcase to a failing one. As long as all parsers complain consistently it should be fine.
One problem though is that Gherkin is now 11 years old.
This means that someone out there will be using this as a feature to add comments at the back of their tables. So it would be sensible to add support for comments after a table.
Parse error:
Feature: Extra table contentScenario: We're a bit extraGiven a pirate crew
| Luffy | Zorro | Doflamingo | Nami | Brook | BlackBeard
No parse error:
Feature: Extra table contentScenario: We're a bit extraGiven a pirate crew
| Luffy | Zorro | # Doflamingo | Nami | Brook | # BlackBeard
Any comment markers before the last pipe would have to be treated as regular text:
Feature: Extra table contentScenario: We're a bit extraGiven a pirate crew
| Luffy | Zorro | # Doflamingo | Nami |# Brook | # BlackBeard
π What did you see?
This step can be compiled by cucumber, but the column
contract id
is not send to the java implemenation.β What did you expect to see?
Two expected behaviors can be expected:
contract id
to the java implementationπ¦ Which tool/library version are you using?
cucumber-java 7.15.0
java 21
π¬ How could we reproduce it?
No response
π Any additional context?
No response
The text was updated successfully, but these errors were encountered: