On Sun, Jan 31, 2010 at 10:05 PM, pepe <[email protected]> wrote: > Sorry, one more thing. What could be the best sources of information > to learn how to use both tools? I learn much better with examples. > > I have searched for the RSpec book, which for what I've read has both > subjects in it, but it seems it's not yet available. > > Thank you. > > Pepe, I would recommend getting the PDF now because this book is due to release in February. Other than that, you might want to try the following web sites:
http://rspec.info/ http://cukes.info/ Lastly, there are many screencasts on the subject which can be easily found using Google. Good luck, -Conrad On Jan 31, 10:00 pm, pepe <[email protected]> wrote: > > Thanks for the answers. > > > > How long do you think it could take for a non initiated person like > > myself to get used to using BDD and learning RSpec and cucumber? > > > > Thanks again. > > > > On Jan 31, 6:27 pm, Marnen Laibow-Koser <[email protected]> wrote: > > > > > pepe wrote: > > > > I want to start diving into BDD. I have never used TDD before and am > > > > not sure if I should start by learning RSpec and then jump to > Cucumber > > > > or just go straight to using Cucumber. > > > > > Use both. RSpec is for unit tests, while Cucumber tests user-facing > > > features (and can use steps written in RSpec). Learn RSpec first, but > > > after getting the basics, learn Cucumber alongside it. > > > > > > I have been reading on the internet about both and it seems to me > that > > > > Cucumber could be a 'replacement' for RSpec. Am I right or should be > > > > one used for certain things and the other one for others? > > > > > Cucumber is absolutely not a replacement for RSpec. The two are > > > complementary. Cucumber is a replacement for integration tests. > > > > > > Thanks in advance. > > > > > > Pepe > > > > > Best, > > > -- > > > Marnen Laibow-Koserhttp://www.marnen.org > > > [email protected] > > > -- > > > Posted viahttp://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<rubyonrails-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

