[rspec-users] Step matchers

David Chelimsky dchelimsky at gmail.com
Mon Oct 15 21:49:24 EDT 2007

On 10/15/07, Wincent Colaiuta <win at wincent.com> wrote:
> If the conventions are kept reasonably tight then this concern could
> be largely ameliorated with a good automated tool for generating an
> ".rb" file from an ".story" file, or updating an existing ".rb" file
> from an updated ".story" file.
> So, for example, if the story file contained (excerpt only):
>    Scenario: "foo bar baz"
> The tool would generate a file with:
>    Scenario "foo bar baz" do
>    end

Personally, I'd prefer to avoid this sort of mapping. It seems to me
that the simplest thing would be to have plain text stories/scenarios
with libraries of step matchers.

More information about the rspec-users mailing list