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

Allow overriding cucumber_steps_glob definition for local requirements #41

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

JESii
Copy link

@JESii JESii commented May 30, 2016

Allow overriding the default glob definition for b:cucumber_steps_glob by exporting the CUKEFILES environment variable. As noted in the updated README file, this can be necessary when working in a large, multi-project environment when each project has it's own features/step_definitions/ where steps specific to that project are stored.

My working environment has half a dozen such projects and I was receiving many "Multiple matching steps..." error messages because of similar SDs for the different projects. Our cucumber yml files took care of use through different profiles for each project, the vim-cucumber bundled them all together with the default glob definition.

(NOTE: I've squashed all the commits in my local project and pushed to this branch, but there are still multiple commits included here... not sure why, but I'm happy to fix if that's needed.)

jesmacys and others added 7 commits January 5, 2015 18:20
Believe he expectes a directory step_definitions/ under the root; regroup
CUKEFILES environment variable can set the matching cucumber 'root' files.
Add number of matching files to "Multiple steps..." message
Add CUKEFILES documentation to README.markdown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants