Wednesday, January 14, 2009

So you've got 100% Test Coverage

I stumbled across a quote at some point today. It wasn't the first time I heard it but it resonated with me today for whatever reason.

"Testing can only prove the presence of bugs, not their absence." --Edsger Dijkstra

Yep. It's so true. Hopefully, all of you have 100% or close test coverage on any app you develop but don't forget. All that test coverage is just a good sign, not a 100% working guarantee.

A good developer will try to test any edge cases that come to mind, but there are always more out there. Very sneaky, those wild combinations that users come up with, are (Just watched Star Wars last night, Yoda on the brain..).

This isn't a reason to not cover everything with tests. Just a reminder, that there is still work to be done, and as you are adding on to the code you've got, you may still find a bug or two.. Keep your eyes peeled!

No comments:

Post a Comment