RubyFlow The Ruby and Rails community linklog


The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

coulda - Cucumber-like BDD power without the magic

Coulda is a new testing library by Evan Light that provides “Cucumber-like BDD power but with an internal DSL.” Further: “coulda believes that the best way to reuse code is the good ol’ fashioned method. Instead of sharing files of regexps mapped to procs, you just write methods. That simple.


So it’s like the rspec story runner gem?

Waiting for “havetoa” and “musta” ;)

I was thinking more “Woulda” next :)

Yep, it’s a little like StoryRunner prior to the introduction of plain text stories. But it’s also small, simple, and Test::Unit under the hood.

Evan, when you throw up a blog post and an example, please post back here. Would love to see this in action

Actually, I have one right here: The sample code is stupid simple but it gives you a flavor for it.

Was just about to post a link to your blog post, Evan - but you beat me to it! :)

Just for the lazy:

Duly noted I should add an auto link feature for URLs :)

rspec power without rspec syntax any1?

btw, we just covered this on RubyInside.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in