On 9 May 2011 15:00, S Ahmed <[email protected]> wrote: > I'm a bit confused as to how cucumber and rspec integrate (if they d at > all?). > > You write a cucumber feature, and step definitions. > Now in the step definitions, do you write rspec in the step definitions or > do they somehow link to the spec's written elsewhere? > > > > Cucumber and rspec are different tools. Cucumber is aimed at a higher level (functional) whilst rspec is aimed at the unit level. So Cucumber features specify your applications behaviour, whilst rspec specifies your objects (and/or classes) behaviour.
The best place to see how they work in tandem is the RSpec Book. All best Andrew _______________________________________________ > rspec-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/rspec-users > -- ------------------------ Andrew Premdas blog.andrew.premdas.org
_______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
