7
Testing of Error Cases
In the last chapter, you saw how white-box testing techniques improve test coverage by examining how the code works. Understanding your applicationâs implementation lets you write more detailed tests covering more of the code behavior, in addition to the checks identified by black-box testing. This chapter examines how best to test the final aspect of core behavior: the codeâs response to error conditions. There are still many other aspects, such as how usable, maintainable, and secure the application is, but this is the last section of testing focusing on the codeâs active behavior, testing what it should do in different situations.
Get Software Test Design now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.