Cucumber Undefined Step

If you organize cucumber features into subdirectories, you may see your cucumber tests fail in Tddium with “Undefined step” errors.

The issue is that cucumber, by default, doesn’t recurse into subdirectories to look for step definition files.

To get cucumber to find your steps, add ”–require features” to your cucumber.yml. For example, see this gist: https://gist.github.com/1419558.