TY - JOUR
T1 - A state-based approach to integration testing based on UML models
AU - Ali, Shaukat
AU - Briand, Lionel C.
AU - Rehman, Muhammad Jaffar ur
AU - Asghar, Hajra
AU - Iqbal, Muhammad Zohaib Z.
AU - Nadeem, Aamer
PY - 2007/11
Y1 - 2007/11
N2 - 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.
AB - 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.
KW - Automated testing
KW - Object-oriented systems
KW - UML based testing
UR - http://www.scopus.com/inward/record.url?scp=34648846189&partnerID=8YFLogxK
U2 - 10.1016/j.infsof.2006.11.002
DO - 10.1016/j.infsof.2006.11.002
M3 - Article
AN - SCOPUS:34648846189
SN - 0950-5849
VL - 49
SP - 1087
EP - 1106
JO - Information and Software Technology
JF - Information and Software Technology
IS - 11-12
ER -