RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

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.

Comments

So it's like the rspec story runner gem?Chad - September 12, 2009 22:42
Waiting for "havetoa" and "musta" ;)ognevsky - September 12, 2009 23:19
I was thinking more "Woulda" next :)PeterCooper - September 13, 2009 01:13
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 Light - September 13, 2009 02:24
Evan, when you throw up a blog post and an example, please post back here. Would love to see this in actionTimothy Johnson - September 13, 2009 04:32
Actually, I have one right here: http://evan.tiggerpalace.com/articles/2009/09/12/coulda/. The sample code is stupid simple but it gives you a flavor for it.Evan Light - September 13, 2009 12:24
Was just about to post a link to your blog post, Evan - but you beat me to it! :)RicRoberts - September 13, 2009 16:12
Just for the lazy: http://evan.tiggerpalace.com/articles/2009/09/12/coulda/

Duly noted I should add an auto link feature for URLs :)PeterCooper - September 13, 2009 16:57
Woulda: http://github.com/seanhussey/woulda :)Tim Case - September 13, 2009 17:18
rspec power without rspec syntax any1?mike in africa - September 15, 2009 07:07
btw, we just covered this on RubyInside.RicRoberts - September 15, 2009 08:11

Post a Comment

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!