Cucumber/Aruba - Undefined Step Reference

I use Cucumber/Aruba for testing CLI apps.

In Rubymine, my Aruba steps show up as 'undefined step reference'.

Aruba step definitions are defined in the Aruba gem - normally not copied to the local 'step_definitions' file.

If I copy the Aruba step definitions to the 'step_definitions' file, RubyMine recognizes the step references properly.

Is there a way to get Rubymine to recognize aruba steps without having to copy the step definitions file?

tx, Andy

3 comments

Hello andy,

Could you please file a YouTrack issue at http://youtrack.jetbrains.net/
? RubyMine doesn't have any configuration options that specify how the step
definition files are searched, but it needs to be able to find the step definitions
automatically in this case.

I use Cucumber/Aruba for testing CLI apps.

In Rubymine, my Aruba steps show up as 'undefined step reference'.

Aruba step definitions are defined in the Aruba gem - normally not
copied to the local 'step_definitions' file.

If I copy the Aruba step definitions to the 'step_definitions' file,
RubyMine recognizes the step references properly.

Is there a way to get Rubymine to recognize aruba steps without having
to copy the step definitions file?

tx, Andy

---
Original message URL:
http://www.jetbrains.net/devnet/message/5263177#5263177

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Hi Dimitry

I notice this thread is 18 months old now, but I was wondering if this support got added to specify the location of step definitons?

Thanks,
Shaun.

0

Hi,
Yes, step definitions from aruba, factory_girl, json_spec, rails3-jquery-autocomplete gems are supported.

0

Please sign in to leave a comment.