Title :
An Approach to Integration Testing of Object-Oriented Programs
Author :
Zhe Li ; Maibaum, T.
Author_Institution :
McMaster Univ., Hamilton
Abstract :
Object-oriented programming has some unique features which facilitate software reuse and component-based development. However, testing object-oriented programs using only traditional techniques is unlikely to find the faults caused by these features. The problem is that few integration testing techniques have been systematically studied or defined. We present a novel approach to generate and execute test cases for object-oriented programs from UML diagrams. We have designed an approach to implement test cases using the concept of coordination contract. A coordination contract, related to the idea of the active association class in UML, defines connections among a group of objects without interfering with their implementations. By using the contract, test case generation and execution can be completed automatically. A prototype tool has been developed to automatically derive the contracts based on the mechanism of test case generation mentioned above.
Keywords :
Unified Modeling Language; object-oriented programming; program testing; UML diagrams; component-based development; integration testing; object-oriented programming; software reuse; test case generation; Automatic testing; Contracts; Fault detection; Java; Object oriented programming; Prototypes; Software testing; Specification languages; System testing; Unified modeling language;
Conference_Titel :
Quality Software, 2007. QSIC '07. Seventh International Conference on
Conference_Location :
Portland, OR
Print_ISBN :
978-0-7695-3035-2
DOI :
10.1109/QSIC.2007.4385506