Found in 1 comment on Hacker News
benihana · 2013-09-19 · Original thread
The Rspec Book. Even though it advocates Cucumber (I kind of ignored that part), it really explains how to think about tests. How to approach unit tests, integration tests, and testing behavior not implementation. I don't write Ruby code or Ruby Specs, and I found the code and the book completely applicable to PHP and JavaScript testing.

http://www.amazon.com/The-RSpec-Book-Behaviour-Development/d...

Fresh book recommendations delivered straight to your inbox every Thursday.