-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Makes it possible to add extra spaces between the Action and the text… #1734
Conversation
…. This can make the feature files more readable. karatelabs#1732
@gerben86 there are build failures |
I fixed one. |
@gerben86 sorry I don't have time right now - cc @joelpramos since he contributed that test |
Ok, got it. I don't know why it only failed in this scenario... |
I have a few questions and I'll ask others for opinion as well before merging this cc @peterquiel
|
1: Can someone else check it? I don't use the auto-complete for Gherking in Eclipse/Intellij |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any reason for def and status to be different to the others:
e.g. def \\h*
vs def\\h+
I think it would be good to be consistent.
Good catch, the origin of this lies in the test "testcontinueOnStepFailure3". |
Not sure when I'll have time to pull your branch but looked at the error log and through the code and I suspect it has to something to do with configuring specific keywords that are to be ignored when there are failures. On the |
@gerben86 change StepRuntime.java:75 to |
That was indeed the correct fix! Just updated the code, thanks! |
@gerben86 I think I merged too soon, can you submit another PR with the extra changes |
Yes, new one created. |
…. This can make the feature files more readable. #1732
Description
Thanks for contributing this Pull Request. Make sure that you submit this Pull Request against the
develop
branch of this repository, add a brief description, and tag the relevant issue(s) and PR(s) below.Modified the regex for the ScenarioActions so that each Action can be executed with spaces around it. But there should be at least 1 whitespace.
Also added a test to prove that it works. Test can be removed of incorperated in the existing testcases ofcourse.
This can improve the readability of the feature files.
And I thought earlier about raising this as an improvement, but now it was the right time for me :)