[rspec-users] Good introduction to rspec

Zach Dennis zach.dennis at gmail.com
Wed Apr 1 12:59:24 EDT 2009

On Wed, Apr 1, 2009 at 11:50 AM, James Byrne <lists at ruby-forum.com> wrote:
> Pablo L. de Miranda wrote:
>> @Fernando - So what material you recommend to start a study in rSpec?
> This might be heresy, but I suggest that you start with Cucumber and
> simply use RSpec matcher syntax in your step definitions.   Once you
> have the hang of how to express expectations in the step definitions,
> then move on to using RSpec on its own; providing that you still want
> to.
> I really did not get the hang of any of this, TDD, BDD, Rails or Ruby
> until I latched on to Cucumber and started -- very, very poorly mind you
> -- to discover how to express behaviour and, more importantly, what
> behaviour to express.  It was, for me, a tumultuous journey and one that
> I am still traveling.
> I am now at the point where, simply by expressing one little bit of
> desired bwhaviour in a cucumber scenario, I uncovered a requirement to
> leave Rails for a bit and implement a set of SQL triggers.  This would
> have been discovered at some point anyway, but I rather suspect that
> without BDD the implementation would have been written first in Ruby for
> ActiveRecord only to be discarded sometime later when the need for a
> trigger became manifest.
> Peepcode is good, I have watched and learned lots there.  Just recall
> that the episodes go far back in time insofar as Rails and RSpec are
> concerned.  These two products have undergone extensive change since
> many of the episodes were recorded.

Thanks for sharing James. I know when you first joined the list there
were a few frustrating moments, and it's really good to hear about
where you've come and how you've gotten there. This is helpful to both
newbs and seasoned BDDers alike,

Zach Dennis

More information about the rspec-users mailing list