We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Defining two StepDefs like this can lead to the wrong one being called at runtime.
@StepDef Scenario: I perform <x> on <y> ... @StepDef Scenario: I perform <x> on <y> using <z> ...
The following step could be targeted at the first StepDef but could actually result in the second one being called instead of the first one.
When I perform A on B using C
Possible interpretations for the above include:
<x> = A
<y> = B
<z> = C
<y> = B using C
The text was updated successfully, but these errors were encountered:
Solution will be to detect this condition and raise an error.
Sorry, something went wrong.
detect ambiguous stepdefs (#23)
befbb07
Delivered in gwen v1.3.0 and gwen-web v1.5.0
No branches or pull requests
Defining two StepDefs like this can lead to the wrong one being called at runtime.
The following step could be targeted at the first StepDef but could actually result in the second one being called instead of the first one.
When I perform A on B using C
Possible interpretations for the above include:
<x> = A
<y> = B
and<z> = C
(if resolved to 2nd StepDef above)<y> = B using C
(if resolved to 1st StepDef above)The text was updated successfully, but these errors were encountered: