Step Defs not found from features/subfolder #184

dmcnulla opened this Issue Jul 20, 2013 · 3 comments


None yet

3 participants


If I have my .feature files in the features folder, it's finding the step definitions and running OK.

When I create feature subfolders to organize my feature files, and run, I get the message about undefined snippets:
You can implement step definitions for undefined steps with these snippets:
[then it lists the steps in the scenario]

When I run this from the command line, all the scenarios run with no messages about undefined step definitions.

I reviewed the RubyTest.sublime-settings and did not recognize a way to configure this.

@dmcnulla dmcnulla closed this Jul 20, 2013
@dmcnulla dmcnulla reopened this Jul 20, 2013
gs commented Oct 7, 2013

is the issue still valid? did you run sublime from project folder in command line?



I found a solution for the subfolders.
In the RubyTest.sublime-settings I put the features folder placement and it worked.
"run_cucumber_command": "cucumber {relative_path} --require ~/Documents/[your folder]/features/",

Now when I am in the sub folder of the features, I can run the test without the message undefined step definitions and It has no impact on the others tests.

gs commented Dec 4, 2013

well done! thx @agultekin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment