Joshua Muheim wrote in post #1061798: > This sounds interesting. But I fear a bit that it's too much to dive > into at one time if I don't concentrate on one single framework. Do you > think different? As said before, I don't really have an idea about > anything yet, so maybe it truly IS a good idea to start with everything.
The thing is that it's not a matter of choosing between RSpec and Cucumber. They are two very different tools, designed to solve different problems in different ways. It would be a little bit like choosing between a hammer and a screw driver. You might be able to force one tool to do the other one's job, but it won't be nearly as effective. If you want to drive a screw use a screw driver, if you want to drive a nail use a hammer. If you want to write low level specs (unit tests) use RSpec if you want to write a user story (customer acceptance test) use Cucumber. The two are designed to work together to cover all the different types of specs/stories you need to prove your application is performing to those specifications. Choosing which one to learn first also depends on your situation. It's not like one is more complicated to learn and understand than the other. It depends a lot on your own particular needs. I personally find RSpec has met the majority of my needs, but my situation may be different than yours. For the apps I've written in Rails the customer/stake holder was me. I didn't have a need to describe the application in high level user stories. I was more interested in the low level unit specs. > But then maybe the RSpec book would be the better option, although it's > already 1.5years old? So, It's not like RSpec is going to change in drastic ways from one year to the next. My recommendation would be to find the exact version of RSpec being used by the book and install that version. Learn the basics and get comfortable with the concepts. Once you get comfortable with that version, then go out and research the differences between that version and the latest release. The changes will not likely be overwhelming once you understand the basics. -- 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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.