Coverage Criteria for State-Based Testing

Author:

Pradhan Sonali1,Ray Mitrabinda2,Patnaik Srikanta1ORCID

Affiliation:

1. Siksha ‘O' Anusandhan University, Bhubaneswar, India

2. Department of Computer Science and Engineering, Siksha ‘O' Anusandhan University, Bhubaneswar, India

Abstract

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.

Publisher

IGI Global

Subject

Management of Technology and Innovation,Information Systems and Management,Organizational Behavior and Human Resource Management,Strategy and Management,Communication,Management Information Systems

Reference48 articles.

1. Agrawal, H., DeMillo, R., Hathaway, R., & Hsu, W., Krauser, E., & Spafford, E. (1989). Design of mutant operators for the C programming language. Technical Report SERC-TR-41-P, Software Engineering Research Center, Department of Computer Science, Purdue University, Indiana.

2. Symbolic Input-Output Conformance Checking for Model-Based Mutation Testing

3. A case study using the round-trip strategy for state-based class testing

4. JTorX: A Tool for On-Line Model-Driven Test Derivation and Execution

5. Advances in Model-Based Testing of Graphical User Interfaces

Cited by 12 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. LLM-SAP: Large Language Models Situational Awareness-Based Planning;2024 IEEE International Conference on Multimedia and Expo Workshops (ICMEW);2024-07-15

2. A Formal Validation Approach for XACML 3.0 Access Control Policy;Sensors;2022-04-13

3. How good are my search strings? Reflections on using an existing review as a quasi-gold standard;e-Informatica Software Engineering Journal;2022

4. SYSMODIS: A Systematic Model Discovery Approach;2021 IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW);2021-04

5. An algorithm for implementing a minimal stream X-Machine model to test the correctness of a system;2020 8th International Conference in Software Engineering Research and Innovation (CONISOFT);2020-11

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3