[rspec-devel] cucumber steps and step matchers
chad.humphries at gmail.com
Thu Oct 30 07:18:30 EDT 2008
That's how we have it set up, we just had support as supporting. I
think this will be helpful to someone getting into cucumber to have
this in place.
On Wed, Oct 29, 2008 at 8:04 PM, David Chelimsky <dchelimsky at gmail.com> wrote:
> In cucumber, I've started to refer to the steps in the scenarios as
> "steps", and the code that defines them "step matchers":
> Scenario: blah
> Given this is a "step"
> Given /this is step matcher/ do
> I'd like to propose standardizing on this nomenclature, as I think it
> makes a much more clear distinction between the steps and the code
> that runs them.
> I'd also propose that the following directory structure convention:
> features/step_matchers # step matchers ONLY
> features/support # env.rb, etc
> Obviously everyone is free to organize things as they like, but I'd
> like to see the cucumber generators lay things out like this (which
> I'll be happy to implement if we agree on the convention).
> rspec-devel mailing list
> rspec-devel at rubyforge.org
More information about the rspec-devel