Re:Why code review beats testing: evidence from decades of p...
by nl on Tuesday October 04, 2011 @05:46PM
(#3073069)
It's a comment on hacker news illustrating a point, not a guide of how to write test cases.
The point is that it is possible to have good test coverage and still have bugs that are best found by humans.
I have no source on this but isn't it bad practice to use constants in your tests? I personally use a new string with the expected value. It forces me to look twice and really consider what I am doing.