[rspec-users] Cucumber step definitions vs. RSpec examples

Brandon Olivares programmer2188 at gmail.com
Mon Mar 30 17:31:38 EDT 2009

> -----Original Message-----
> From: rspec-users-bounces at rubyforge.org [mailto:rspec-users-
> bounces at rubyforge.org] On Behalf Of Stephen Eley
> Sent: Monday, March 30, 2009 10:15 AM
> To: rspec-users
> Subject: Re: [rspec-users] Cucumber step definitions vs. RSpec examples
> Interesting.  I don't think what you're saying is invalid, but I do
> think it's an _unusual_ perspective to consider TDD and BDD as an
> either/or.  Depending on whom you ask, BDD is most often seen either
> as an evolution/elaboration on TDD, or else the differences are viewed
> as purely semantic.
> Either way, though, by practicing BDD you're generally doing
> everything you'd do in TDD.  You're still specifying
> success-vs.-failure conditions before you write the code, and then
> writing only the code necessary to achieve success.  Whether you call
> those conditions 'behaviors' or 'tests' doesn't change that
> fundamental pattern.

Yeah I guess I didn't express that quite right, and I see what you mean.
Either way, I mean I have to do some kind of test driven development, in
whatever form it is.


More information about the rspec-users mailing list