Re:'Learn Ruby on Rails' is free today
by DanielKehoe on Saturday November 30, 2013 @12:23AM
(#6822394)
TDD is one of the big issues in the pedagogy of teaching Rails. Teach it from the start (Hartl)? Ignore it (most lightweight intros)? Or find a way to introduce it without intimidating beginners? My approach (in a forthcoming chapter) is to encourage testing literacy, that is, to show beginners how to read test code and run tests, so they will be prepared for further study. Michael Hartl's book is good to read after "Learn Ruby on Rails." I also recommend these three books (the first is the newest):
* Aaron Sumner, "Everyday Rails Testing with RSpec" https://leanpub.com/everydayrailsrspec
* Noel Rappin, "Rails Test Prescriptions" http://pragprog.com/book/nrtest/rails-test-prescriptions
* Chelimsky and friends, "The RSpec Book" http://pragprog.com/book/achbd/the-rspec-book
Other resources? How did you learn TDD for Rails?