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

Default require path to features unless specified explicitly. #842

Merged
merged 1 commit into from
Apr 30, 2015

Conversation

pdswan
Copy link
Contributor

@pdswan pdswan commented Apr 24, 2015

In general there seem to be some weird dependencies (or lack there of) between
configuration options and information in Cucumber::Cli::Configuration#feature_files
that could probably be clarified with a little refactoring.

One example that this feature exposed directly is that
Cucumber::Cli::Configuration#feature_files does not
depend on Cucumber::Cli::Configuration#feature_dirs though their names
certainly imply dependence.

I had deleted Cucumber::Cli::Configuration#feature_dirs to eliminate
the confusion, but added it back in when I realized it was used in
features/docs/post_configuration_hook.feature.

I took a stab at re-architecting the configuration code awhile back, but got mired and gave up. Just realized I never submitted this pull request.

Looks like there's plans to give the configuration some attention for 2.1, but maybe this is still a useful step.

In general there seem to be some weird dependencies (or lack there of) between
configuration options and information in `Cucumber::Cli::Configuration#feature_files`
that could probably be clarified with a little refactoring.

One example that this feature exposed directly is that
`Cucumber::Cli::Configuration#feature_files` does not
depend on `Cucumber::Cli::Configuration#feature_dirs` though their names
certainly imply dependence.

I had deleted `Cucumber::Cli::Configuration#feature_dirs` to eliminate
the confusion, but added it back in when I realized it was used in
`features/docs/post_configuration_hook.feature`
@pdswan
Copy link
Contributor Author

pdswan commented Apr 24, 2015

#611

tooky added a commit that referenced this pull request Apr 30, 2015
Default require path to features unless specified explicitly.
@tooky tooky merged commit c6a611a into cucumber:master Apr 30, 2015
@tooky
Copy link
Member

tooky commented Apr 30, 2015

Thanks for the contribution!

@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