posted by jimmy
on Sun, 10/14/2012 - 16:10
When do you write unit test? This fairly easy question, has no universal answer. Do you test everything, going for as high code coverage, or do you test selectively? Do you test simple code? What simple code really means? Do tests have value? In this post I tackle similar questions and try to explain why unit testing is not always obvious and often you will rely on your personal experience than book guidelines.