Andrew, I've actually read allot of the book (but admittedly I brushed over the cucumber sections), but I was confused at this point.
I understand the outside in development, etc. What I was confused at was if the two technologies actually integrate at some point. i.e. if you run cucumber, will it go and run spec's for you also? Correct me if I am wrong, but the cucumber step definitions do indeed use webrat to hit the pages and verify things in the view pages correct? On Mon, May 9, 2011 at 10:48 AM, Andrew Premdas <aprem...@gmail.com> wrote: > > > On 9 May 2011 15:00, S Ahmed <sahmed1...@gmail.com> 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 >> rspec-users@rubyforge.org >> http://rubyforge.org/mailman/listinfo/rspec-users >> > > > > -- > ------------------------ > Andrew Premdas > blog.andrew.premdas.org > > > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users