Preventing logic flaws
The idea of logic errors is perhaps what everybody thinks of first when we talk about testing: did it work right?
I can’t disagree here – this is really important. As far as users, revenues, our Net Promoter Score®™, and market growth go, if your code doesn’t work right, it doesn’t sell. It’s that simple.
Understanding the limits of manual testing
We know from bitter experience that the simplest logic flaws are often the easiest to create. The examples that we can all relate to are those one-off errors, that NullPointerException
from an uninitialized variable, and that exception thrown by a library that wasn’t in the documentation. They are all so simple and small. It seems like it would be so obvious for us to realize that we were making these mistakes, yet we all know they are often the hardest to spot. When we humans concentrate on the big picture of our code, sometimes these critical details just...