• DocumentCode
    243567
  • Title

    Testing Java Exceptions: An Instrumentation Technique

  • Author

    Martins, Alexandre L. ; Hanazumi, Simone ; De Melo, Ana C. V.

  • Author_Institution
    Dept. of Comput. Sci., Univ. of Sao Paulo, Sao Paulo, Brazil
  • fYear
    2014
  • fDate
    21-25 July 2014
  • Firstpage
    626
  • Lastpage
    631
  • Abstract
    Quality can be defined as the level of adequacy between the final product and its specification. Software industries use many testing methodologies to assure the high-quality of their software. Code coverage is one of these methodologies usually applied to test the expected (normal) behavior of software. Exception handling structures mainly appear in software code to deal with problems caused by unexpected behavior. Because of this, they are not completely covered with the techniques for testing programs normal behavior. To overcome this limit, we present the Verify Ex, a Java class prototype, together with a Java source code instrumentation technique to exercise exception handling structures. The result is an increase of code coverage rate due to the inclusion of programs exceptional behavior in the testing execution and code coverage analysis.
  • Keywords
    Java; exception handling; program testing; software quality; source code (software); Java class prototype; Java exceptions testing; Java source code instrumentation technique; Verify Ex; code coverage analysis; code coverage rate; exception handling structures; programs normal behavior testing; software behavior testing; software code; software industries; software quality; testing methodologies; Educational institutions; Electronic mail; Instruments; Java; Software; Testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Software and Applications Conference Workshops (COMPSACW), 2014 IEEE 38th International
  • Conference_Location
    Vasteras
  • Type

    conf

  • DOI
    10.1109/COMPSACW.2014.105
  • Filename
    6903201