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.
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