I would suggest another book: http://leanpub.com/everydayrailsrspec - This is especially interesting for the Rails context, which I missed somewhat in the Rspec book, it starts to explain BDD of plain Ruby classes and objects.
Apart from this, I recently discovered that the Gem RSpec-rails is nicely documented in BDD style too on Github, e.g. a controller spec looks like: https://github.com/rspec/rspec-rails/tree/master/features/controller_specs On Thu, Jun 28, 2012 at 6:29 PM, Kostas L. <[email protected]> wrote: > Hello, > i want to buy a book for TTD. I am between "The cucumber book" and the "The > Rspec book" from pragmatic programmers. > > Which of these 2 are the best? Any other suggestion?? > I am new to testing... > > Thank you for your time! > Kostas > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/TA1d6IPnHN4J. > 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-US. -- 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-US.

