Best book for testing

17 views
Skip to first unread message

Kostas L.

unread,
Jun 28, 2012, 12:29:56 PM6/28/12
to rubyonra...@googlegroups.com
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

Patrick Mulder

unread,
Jun 28, 2012, 12:40:31 PM6/28/12
to rubyonra...@googlegroups.com
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
> --
> 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 rubyonra...@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-ta...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en-US.

Benjamin Iandavid Rodriguez

unread,
Jun 28, 2012, 12:41:21 PM6/28/12
to rubyonra...@googlegroups.com
If you want to get familiar with TDD I suggest going for the Rspec Book, since Rspec and Cucumber serve different purposes(Rspec for TDD and Cucumber for BDD). Also, if going for Rspec go ahead and take a look at code school(http://www.codeschool.com/), they've just released a course on Testing with Rspec which is pretty cool.

Hope this helps and Best regards =D

2012/6/28 Kostas L. <lou...@gmail.com>
Kostas

--
Reply all
Reply to author
Forward
0 new messages