Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

feature-goto-step-definition in features/ sub-dirs #39

Closed
npassaro opened this Issue · 2 comments

3 participants

@npassaro

My Cucumber project has its feature files present in sub-directories within the features/ directory. The goto functionality does not seem to work in this case.

But, if I put a .feature file in feature/foo.feature any implemented step that foo.feature has will be found by the function.

Am I missing a configuration parameter to point to the absolute path of my directory?

Can you help me?

Thanks.

@michaelklishin

Current implementation assumes features directory structure is flat. We should try using globbing (such as features/**/*.feature). Pull requests are welcome.

@avsej

@npassaro go-to functionality does not care about how your features structured. It only takes care about step definitions: https://github.com/michaelklishin/cucumber.el/blob/f5a8a988f85cfa5d6f2791f9103188851b4e44e6/support/find_step.rb#L132

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.