A state-based approach to integration testing based on UML models

  • Authors:
  • Shaukat Ali;Lionel C. Briand;Muhammad Jaffar-ur Rehman;Hajra Asghar;Muhammad Zohaib Z. Iqbal;Aamer Nadeem

  • Affiliations:
  • Center for Software Dependability, Mohammad Ali Jinnah University, Islamabad, Pakistan;Software Quality Engineering Laboratory, Department of Systems and Computer Engineering, Carleton University, Canada;Center for Software Dependability, Mohammad Ali Jinnah University, Islamabad, Pakistan;Center for Software Dependability, Mohammad Ali Jinnah University, Islamabad, Pakistan;Center for Software Dependability, Mohammad Ali Jinnah University, Islamabad, Pakistan;Center for Software Dependability, Mohammad Ali Jinnah University, Islamabad, Pakistan

  • Venue:
  • Information and Software Technology
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.