Skip to content
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/strictmode #258

Closed
wants to merge 2 commits into from
Closed

Conversation

jeduden
Copy link
Contributor

@jeduden jeduden commented Oct 5, 2014

Add strict mode ( #58 )

Only saw strict mode pr #211 when creating this pull request.

Looks similar to #211 but this also includes strict mode for the volatile configuration.

Not sure if you want this pr.

Added three scenarios that describe what strict mode should behave like.

These were taking from the cucumber ruby feature, and then reworked 
quite a bit. Also, the original cucumber scenario doesn’t include the
case for pending steps, I have now added that one as well.
( see https://github.com/cucumber/cucumber/blob/master/features/docs/cli/strict_mode.feature )

The steps were refactored to be based on aruba steps, since the 
cli.feature depends on aruba.
The strict was missing compared to the cucumber ruby and jvm
implementations.

The strict mode flag was added to the configuration classes. The
ast_tree_walker interprets the strict mode and if set, sets 
allFeaturesSucceded to false when witnessing a pending or undefined 
step.

The runtime spec was adjusted to run all test for both strict and non-
strict.

The VolatileConfiguration also was updated. Strict mode is enable if
options has a strict field with true.
@jbpros jbpros closed this in 40fe590 Dec 21, 2014
@jbpros
Copy link
Member

jbpros commented Dec 21, 2014

I merged in #211 but took your scenarios and support for strict mode in volatile configuration. Thanks @jeduden!

@lock
Copy link

lock bot commented Oct 25, 2018

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.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants