An approach to automatic testing exception handling

  • Authors:
  • Shujuan Jiang;Yongping Zhang;Dashun Yan;Yuanpeng Jiang

  • Affiliations:
  • China University of Mining & Technology, China;China University of Mining & Technology, China;China University of Mining & Technology, China;China University of Mining & Technology, China

  • Venue:
  • ACM SIGPLAN Notices
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Exception handling mechanism can increase the reliability of the system and improve the robustness of the software. But the exception handling code that is used to respond to exceptional conditions tends to be the source of the systems failure. It is difficult to test the exception handling by usual methods. This paper proposes an approach to automatic testing of exception handling based on analyzing the problems encountered during testing exception handling. The method of testing exception handling is efficient through combining the structure of exception handling with "assertion violation". It also gives the supporting tool that has been designed for the method.