Sign in or Join FriendFeed
FriendFeed is the easiest way to share online. Learn more »
Kishore Balakrishnan
cashto's blog : It's OK Not to Write Unit Tests - http://blogs.msdn.com/cashto...
programming kiv Let's be honest. Your tests mostly follow the “happy path”. Sure, on occasion you remember to test “the failure case”—the caller passed in null or a negative integer as an argument—mostly because you just got done writing that check and wouldn't it be a waste not to write a test to show how clever you were? Never mind that null or a negative argument is an assertable precondition that could never happen in production anyways. - Kishore Balakrishnan from Bookmarklet