Automatic test case generation through collaboration diagram: a case study

被引:5
|
作者
Kaur A. [1 ]
Vig V. [1 ]
机构
[1] USICT, Guru Gobind Singh Indraprastha University, Sec 16-C, Dwarka, Delhi
关键词
Automatic test case generation; Collaboration diagram; Mutation testing; Software engineering; UML;
D O I
10.1007/s13198-017-0675-8
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Testing process consists of designing set test cases which are efficient enough to identify the faults in the system. Automatic test case generation by UML diagrams helps to detect the faults in the system at an early stage, thereby, reducing the cost and the effort to rectify them. Collaboration diagrams represent a significant opportunity for testing because they precisely describe how the system interacts with its components. Moreover, they capture the dynamic behavior of the objects in the system unlike any other UML diagram. Hence, it can be used for efficient automatic test case generation. Still, there exists a limited research in this domain, thereby making it an apt choice for study. This paper presents an approach to generate test cases automatically from collaboration diagrams and validation of results using mutation testing. The study found that the proposed algorithm generates test cases automatically from collaboration diagrams ensuring adequate path coverage and avoiding infinite loops. The algorithm was further found to be highly efficient in identifying mutants in wide range of scenarios. © 2017, The Society for Reliability Engineering, Quality and Operations Management (SREQOM), India and The Division of Operation and Maintenance, Lulea University of Technology, Sweden.
引用
收藏
页码:362 / 376
页数:14
相关论文
共 50 条
  • [1] Automatic Test Case Generation for UML Collaboration Diagrams
    Prasanna, M.
    Chandran, K. R.
    Thiruvenkadam, K.
    [J]. IETE JOURNAL OF RESEARCH, 2011, 57 (01) : 77 - 81
  • [2] Analytic method for automatic test case generation for Function Block Diagram
    Ausberger, Tomas
    Kubicek, Karel
    Medvecova, Pavia
    Myslivec, Tomas
    Stetina, Milan
    [J]. 2020 25TH IEEE INTERNATIONAL CONFERENCE ON EMERGING TECHNOLOGIES AND FACTORY AUTOMATION (ETFA), 2020, : 1799 - 1806
  • [3] An Automatic Test Case Generation Method based on SysML Activity Diagram
    Xu, Yiqun
    Wu, Linbo
    [J]. 2019 INTERNATIONAL CONFERENCE ON ADVANCED ELECTRONIC MATERIALS, COMPUTERS AND MATERIALS ENGINEERING (AEMCME 2019), 2019, 563
  • [4] Automatic test program generation:: A case study
    Corno, F
    Sánchez, E
    Reorda, MS
    Squillero, G
    [J]. IEEE DESIGN & TEST OF COMPUTERS, 2004, 21 (02): : 102 - 109
  • [5] Automatic Test Case Generation with State Diagram for Validating the Solar Integrated System
    Park, Bo Kyung
    Jang, Woo Sung
    Son, Hyun Seung
    Yi, Keunsang
    Kim, R. Young Chul
    [J]. INFORMATION SCIENCE AND APPLICATIONS 2017, ICISA 2017, 2017, 424 : 609 - 614
  • [6] Case Study: Automatic Test Case Generation for a Secure Cache Implementation
    Bloem, Roderick
    Hein, Daniel
    Roeck, Franz
    Schumi, Richard
    [J]. TESTS AND PROOFS, TAP 2015, 2015, 9154 : 58 - 75
  • [7] Systematic Mapping Study in Automatic Test Case Generation
    Mohi-Aldeen, Shayma Mustafa
    Deris, Safaai
    Mohamad, Radziah
    [J]. NEW TRENDS IN SOFTWARE METHODOLOGIES, TOOLS AND TECHNIQUES, 2014, 265 : 703 - 720
  • [8] Automatic Test Case Generation for Programmable Logic Controller using Function Block Diagram
    Mani, P.
    Prasanna, M.
    [J]. 2016 INTERNATIONAL CONFERENCE ON INFORMATION COMMUNICATION AND EMBEDDED SYSTEMS (ICICES), 2016,
  • [9] Interaction Diagram Based Test Case Generation
    Kumar, Rohit
    Bhatia, Rajesh K.
    [J]. GLOBAL TRENDS IN INFORMATION SYSTEMS AND SOFTWARE APPLICATIONS, PT 2, 2012, 270 : 202 - +
  • [10] Tool for automatic test case generation
    Sarala, S
    Valli, S
    [J]. KNOWLEDGE-BASED SOFTWARE ENGINEERING, 2004, 108 : 65 - 74