April 01, 2001
Adding Exception Testing to Unit TestsBob Stanley
Exceptions can add a bewildering number of potential execution paths to otherwise simple code. Here is a way to test those extra paths without writing a bazillion test cases.
Figure 1: The design of the exception testing system
|
|
||||||||||||||||||||||||||||
|
|
|
|