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:
Right | Are the results right? |
B | Are all the boundary conditions correct? |
I | Can you check inverse relationships? |
C | Can you cross-check results using other ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access