-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Feature/strict mode #211
Feature/strict mode #211
Conversation
@samccone Thanks for the video. I've rebased all the things - squashed the branch down into two commits, which includes reverted |
@@ -65,11 +65,14 @@ var Cli = function(argv) { | |||
summary : prints a summary only, after all\n\ | |||
scenarios were executed\n\ | |||
\n\ | |||
-s, --strict Fail if there are any undefined or pending steps.\n\ |
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.
The shorthand version of the flag is -S
in cucumber-ruby. -s
is for --no-source
. I wish it was the other way around but I think we should not confuse people and stick to ruby's. Can you change this?
Pulling in strict implementation from lchenay. Modified the --help message for strict to be inline with Ruby cucumber.
Fixed tests failing due to addition of new flag. Added tests for new functionality in ast_tree_walker.
@@ -65,11 +65,14 @@ var Cli = function(argv) { | |||
summary : prints a summary only, after all\n\ | |||
scenarios were executed\n\ | |||
\n\ | |||
-S, --strict Fail if there are any undefined or pending steps.\n\ |
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.
@jbpros - I've updated the shorthand flag to be inline with the ruby implementation, -S
Thanks @elwynelwyn, this is very nicely done. |
@elwynelwyn could you rebase this onto master and add a couple of scenarios to test this e2e please? |
@jbpros I've added e2e scenarios, and had a go at rebasing to master - not sure if I did it right though?
Let me know if you'd like me to do it differently! |
Thanks @elwynelwyn! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This is a duplicate of lchenays add strict mode pull request, but with fixed/added tests for the new strict flag.
I also modified the --help message for the new flag to be inline with Ruby cucumber.