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-Koser http://www.marnen.org [email protected] -- Posted via http://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]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

