Preventing Logic Flaws

Logical errors

The idea of logic errors is perhaps what everybody thinks of first when we talk about testing: did it work right? We can’t disagree here—this is really important. As far as users, revenues, our NPSNet Promoter Score®™, and market growth go, if our code doesn’t work right, it doesn’t sell. It’s that simple.

A logical error in design or code is an error where the provided instructions do not accomplish the intended goal

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.

Get hands-on with 1400+ tech skills courses.