|Authors||S. Ali, L. Briand, M. J. Rehman, H. Asghar, M. Z. Iqbal and A. Nadeem|
|Title||A State-Based Approach to Integration Testing Based on UML Models|
|Publication Type||Journal Article|
|Year of Publication||2007|
|Journal||Information and Software Technology|
Correct functioning of object-oriented software depends upon the successful integration of classes. While individual classes may function correctly, several new faults can arise when these classes are integrated together. In this paper, we present a technique to enhance testing of interactions among modal classes. The technique combines UML collaboration diagrams and statecharts to automatically generate an intermediate test model, called SCOTEM (State COllaboration TEst Model). The SCOTEM is then used to generate valid test paths. We also define various coverage criteria to generate test paths from the SCOTEM model. In order to assess our technique, we have developed a tool and applied it to a case study to investigate its fault detection capability. The results show that the proposed technique effectively detects all the seeded integration faults when complying with the most demanding adequacy criterion and still achieves reasonably good results for less expensive adequacy criteria.