-
-
Notifications
You must be signed in to change notification settings - Fork 21
Clarify documentation around stepMatchArgumentsLists #330
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
Conversation
That is not at all what I understand. For instance, in the CCK Minimal example, the TestCase message is:
and in the Parameter-Types example it is:
The Unfortunately, the CCK has no scenarios that cover an ambiguous binding situation. |
@clrudolphi cucumber/compatibility-kit#156 For an ambiguous step, a testcase will have test step with multiple entries in See comments below: {
"testCase": {
"id": "7",
"pickleId": "3",
"testSteps": [
{
"id": "8",
"pickleStepId": "2",
"stepDefinitionIds": [
"4", // First matching step definition
"5" // Second matching step definition
],
"stepMatchArgumentsLists": [
{
"stepMatchArguments": [ // First list of arguments for the first matching step definition
{
"group": {
"start": 2,
"value": "step",
"children": []
}
},
{
"group": {
"start": 12,
"value": "",
"children": []
}
}
]
},
{
"stepMatchArguments": [ // Second list of arguments for the second matching step definition
{
"group": {
"start": 12,
"value": "multiple definitions",
"children": []
},
"parameterTypeName": ""
}
]
}
]
}
],
"testRunStartedId": "6"
}
} |
@mpkorstanje Thank you for the explanation. What threw me off was the comment added by revised schema that is thrown in to the generated code that implies that consumers may look at the count of entries in the There is similar wording already on the The comment to be placed on the
|
That is a good idea! Cheers! |
⚡️ What's your motivation?
This has confused the hell out of me for the longest time.
🏷️ What kind of change is this?
📋 Checklist: