Testing Exceptions: Harder Than It Looks
Exceptions are one of the most complicated constructs in many languages. Because of that, testing exceptions is one of the harder tests to do. Consider the following code. Assume block1 through block3 are straight-line code, each ending with a statement Continue reading Testing Exceptions: Harder Than It Looks