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

被引:53
|
作者
Ali, Shaukat
Briand, Lionel C. [1 ]
Rehman, Muhammad Jaffar-ur
Asghar, Hajra
Iqbal, Muhammad Zohaib Z.
Nadeem, Aamer
机构
[1] Carleton Univ, Dept Syst & Comp Engn, Software Qual Engn Lab, Ottawa, ON K1S 5B6, Canada
[2] Mohammad Ali Jinnah Univ, Ctr Software Dependabil, Islamabad, Pakistan
关键词
UML based testing; automated testing; object-oriented systems;
D O I
10.1016/j.infsof.2006.11.002
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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. (C) 2006 Elsevier B.V. All rights reserved.
引用
收藏
页码:1087 / 1106
页数:20
相关论文
共 50 条
  • [1] Integrated state-based dynamic slicing technique for UML models
    Lallchandani, J. T.
    Mall, R.
    [J]. IET SOFTWARE, 2010, 4 (01) : 55 - 78
  • [2] Concolic Testing for Models of State-Based Systems
    Ahmadi, Reza
    Dingel, Juergen
    [J]. ESEC/FSE'2019: PROCEEDINGS OF THE 2019 27TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, 2019, : 4 - 15
  • [3] STATE-BASED COMPOSITION IN UML 2
    Barbier, Franck
    Aretxandieta, Xabier
    [J]. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2008, 18 (08) : 987 - 1011
  • [4] A STATE-BASED APPROACH TO THE TESTING OF CLASS-BASED PROGRAMS
    TURNER, CD
    ROBSON, DJ
    [J]. SOFTWARE-CONCEPTS AND TOOLS, 1995, 16 (03): : 106 - 112
  • [5] State-Based Models in Model-Based Testing: A Systematic Review
    Sabbaghi, Arash
    Keyvanpour, Mohammad Reza
    [J]. 2017 IEEE 4TH INTERNATIONAL CONFERENCE ON KNOWLEDGE-BASED ENGINEERING AND INNOVATION (KBEI), 2017, : 942 - 948
  • [6] A SOFTWARE TESTING APPROACH BASED ON BEHAVIORAL UML MODELS
    Barisas, Dominykas
    Bareisa, Eduardas
    [J]. INFORMATION TECHNOLOGY AND CONTROL, 2009, 38 (02): : 119 - 124
  • [7] State-based testing is functional testing!
    Ipate, Florentin
    Lefticaru, Raluca
    [J]. TAIC PART 2007 - TESTING: ACADEMIC AND INDUSTRIAL CONFERENCE - PRACTICE AND RESEARCH TECHNIQUES, PROCEEDINGS: CO-LOCATED WITH MUTATION 2007, 2007, : 55 - +
  • [8] Automated Transition from Use Cases to UML State Machines to Support State-Based Testing
    Yue, Tao
    Ali, Shaukat
    Briand, Lionel
    [J]. MODELLING FOUNDATIONS AND APPLICATIONS, 2011, 6698 : 115 - 131
  • [9] A state-based testing approach for aspect-oriented programming
    Liu, Chien-Hung
    Chang, Chuan-Wen
    [J]. JOURNAL OF INFORMATION SCIENCE AND ENGINEERING, 2008, 24 (01) : 11 - 31
  • [10] Slicing of state-based models
    Korel, B
    Singh, I
    Tahat, L
    Vaysburg, B
    [J]. INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 2003, : 34 - 43