Coverage Criteria for State-Based Testing: A Systematic Review

被引:9
|
作者
Pradhan, Sonali [1 ]
Ray, Mitrabinda [2 ]
Patnaik, Srikanta [3 ]
机构
[1] Siksha O Anusandhan Univ, Bhubaneswar, India
[2] Siksha O Anusandhan Univ, Dept Comp Sci & Engn, Bhubaneswar, India
[3] Siksha O Anusandhan Univ, Comp Sci & Engn, Bhubaneswar, India
关键词
All Transition Pair; All Transitions; Mutation Testing; Round Trip Path; Sneak-Path Testing; State-Based Faults; State-Based Testing; GENERATING TESTS; MODEL; CHECKING;
D O I
10.4018/IJITPM.2019010101
中图分类号
C93 [管理学];
学科分类号
12 ; 1201 ; 1202 ; 120202 ;
摘要
State-based testing (SBT) is known as deriving test cases from state machines and examining the dynamic behaviour of the system. It helps to identify various types of state-based faults within a system under test (SUT). For SBT, test cases are generated from state chart diagrams based on various coverage criteria such as All Transition, Round Trip Path, All Transition Pair, All Transition Pair with length 2, All Transition Pair with length 3, All Transition Pair of length 4 and Full Predicate. This article discuses a number of coverage criteria at the design level to find out various types of state-based faults in SBT. First, the intermediate graph is generated from a state chart diagram using an XML parser. The graph is traversed based on the given coverage criteria to generate a sequence of test cases. Then, mutation testing and sneak-path testing are applied on the generated test cases to check the effectiveness of the generated test suite. These two are common methods for checking the effectiveness of test cases. Mutation testing helps in the number of seeded errors covered whereas sneak-path testing basically helps to examine the unspecified behavior of the system. In round trip path (RTP), it is not possible to cover all paths. All transition is not an adequate level of fault detection with more execution time compared to all transition pair (ATP) with length 4 (LN4). In the discussion, ATP with LN4 is the best among all coverage criteria. SBT can able to detect various state-based faults-incorrect transition, missing transition, missing or incorrect event, missing or incorrect action, extra missing or corrupt state, which are difficult to detect in code-based testing. Most of these state-based faults can be avoided, if the testing is conducted at the early phase of design.
引用
收藏
页码:1 / 20
页数:20
相关论文
共 50 条
  • [1] 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
  • [2] A systematic review of state-based test tools
    Muhammad Shafique
    Yvan Labiche
    [J]. International Journal on Software Tools for Technology Transfer, 2015, 17 : 59 - 76
  • [3] A systematic review of state-based test tools
    Shafique, Muhammad
    Labiche, Yvan
    [J]. INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2015, 17 (01) : 59 - 76
  • [4] 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 - +
  • [5] A Systematic Review for Cognitive State-Based QoE/UX Evaluation
    Banuelos-Lozoya, Edgar
    Gonzalez-Serna, Gabriel
    Gonzalez-Franco, Nimrod
    Fragoso-Diaz, Olivia
    Castro-Sanchez, Noe
    [J]. SENSORS, 2021, 21 (10)
  • [6] Evolutionary testing of state-based programs
    McMinn, Phil
    Holcombe, Mike
    [J]. GECCO 2005: GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, VOLS 1 AND 2, 2005, : 1013 - 1020
  • [7] Test coverage criteria for software product line testing: Systematic literature review
    Lee, Jihyun
    Kang, Sungwon
    Jung, Pilsu
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2020, 122
  • [8] A discussion on failure criteria for ordinary state-based peridynamics
    Dipasquale, Daniele
    Sarego, Giulia
    Zaccariotto, Mirco
    Galvanetto, Ugo
    [J]. ENGINEERING FRACTURE MECHANICS, 2017, 186 : 378 - 398
  • [9] 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
  • [10] State-based reproducible testing for CORBA applications
    Sohn, HW
    Kung, DC
    Hsia, P
    [J]. INTERNATIONAL SYMPOSIUM ON SOFTWARE ENGINEERING FOR PARALLEL AND DISTRIBUTED SYSTEMS, PROCEEDINGS, 1999, : 24 - 35