Title :
Interface faults injection for component-based integration testing
Author :
Hashim, Nor Laily ; Schmidt, Heinz W. ; Ramakrishnan, Sita
Author_Institution :
Centre for Distrib. Syst. & Software Eng., Monash Univ., Caulfield, VIC, Australia
Abstract :
This paper presents a simple and improved technique of interface fault insertion for conducting component integration testing through the use of aspect-oriented software development (AOSD). Taking the advantage of aspect´s cross-cutting features, this technique only requires additional codes written in AspectJ rather than having a separate tool to perform this operation. These aspect codes act as wrappers around interface services and perform operations such as disabling the implementation of the interface services, raising exceptions or corrupting the inputs and outputs of interface services. Interface faults are inserted into the system under test to evaluate the quality of the test cases by ensuring not only that they detect errors due to the interactions between components, but they are also able to handle exceptions raised when interface faults are triggered.
Keywords :
Java; program testing; software fault tolerance; software quality; user interfaces; AOSD; AspectJ; Java component-based integration testing; aspect cross-cutting feature; aspect-oriented software development; exception handling; interface fault injection; interface fault insertion; interface service; test case quality; Assembly; Australia; Computer architecture; Connectors; Fault detection; Programming; Software architecture; Software engineering; Software testing; System testing;
Conference_Titel :
Computing & Informatics, 2006. ICOCI '06. International Conference on
Conference_Location :
Kuala Lumpur
Print_ISBN :
978-1-4244-0219-9
Electronic_ISBN :
978-1-4244-0220-5
DOI :
10.1109/ICOCI.2006.5276516