jnicklas/turnip — pull request #5 by bdmac (2011-11-14 18:15:33+00:00)
Title: Autoload step modules based on feature file name.

This adds the feature I had mentioned on Les' pull request to automatically load the step modules for a feature based on its file name.

For examples see:

examples/autoload_steps.feature
examples/autoload_steps.rb

It essentially automatically adds a tag at the feature level (similar to :global) based on the file name. So in the example above it saves you from having to tag the feature with @autoload_steps and does that for you automatically. A more typical Rails example would be a feature file named user_signup.feature and a steps file with steps_for :user_signup defined.

There is also a config option added to disable this feature.