Approach to Testing Java Exception Handling Mechanism Quickly

Dashun Yan · Mini-micro Systems · 2005

Exception handling mechanism can increase the reliability of the system and improve the robustness of the software. It is especially difficult to test the code used to respond to exceptional conditions by usual methods. This error recovery code tends to be an error prone part of a system. This paper shows that it can test Java exception handling code effectively through combining the structure of exception handling with an assertion violation technique for injecting software faults. A supporting tool has been designed for the proposed method at the end of paper.

Read the paper · More papers on PaperTik