These are all great resources. If I had to do it over and I was just getting into testing, the books I would read in this order are:
- Everyday Rails Testing with… by Aaron Sumner [PDF/iPad/Kindle] - It’s good for understanding the basics of RSpec and it’s syntax. It’s a great walkthrough of basic testing in Rails.
- Rails 4 Test Prescriptions by Rappin - This is a bit more higher level and less syntax-oriented and goes into principles/guidelines (e.g., what to test in a model, what makes great tests). I’m currently reading this and finding it to be a great read.