Chapter 6What to Test: The Right-BICEP
It can be hard to look at a method or a class and anticipate all the bugs that might be lurking in there. With experience, you develop a feel for what’s likely to break and learn to concentrate on testing those areas first. Until then, uncovering possible failure modes can be frustrating. End users are quite adept at finding our bugs, but that’s embarrassing and damaging to our careers! What we need are guidelines to help us understand what’s important to test.
Your Right-BICEP provides you with the strength needed to ask the right questions about what to test:
Are the results right?
Are all the boundary conditions correct?
Can you check inverse relationships?
Can you cross-check results using other ...