Automatic Test Cases Generation Based on State Machine Diagram of Systems Modeling Language

This paper presents a method for automatically generating effective test cases based on SysML state diagrams. The method firstly obtains Systems Modeling Language (SysML) state diagrams described in XML format, using Document Object Model to parse the model information. Secondly, the Finite state machine (FSM) is chosen as the intermediate transformation model, during which concurrent and composite states are processed. Based on this, test paths are generated using the All Transitions (AT) algorithm and the Modified Condition/Decision Coverage (MC/DC) algorithm. Test data are created using constraint-solving methods, ultimately leading to the output of effective test cases.

Authors

Institutions

Publication Details

Published
2024-12-27
DOI
https://doi.org/10.1109/eiecc64539.2024.10929119
Primary Topic
Software Testing and Debugging Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automatic Test Cases Generation Based on State Machine Diagram of Systems Modeling Language

Xianghu Wu, Jiaqi Zhang, Kuanjun Liu, Shiyu Liu et al.
Software Testing and Debugging Techniques
article

Automatic Test Cases Generation Based on State Machine Diagram of Systems Modeling Language

Xianghu Wu, Jiaqi Zhang, Kuanjun Liu, Shiyu Liu, Tiantian Wang, Peiyuan Wang
article en

Abstract

This paper presents a method for automatically generating effective test cases based on SysML state diagrams. The method firstly obtains Systems Modeling Language (SysML) state diagrams described in XML format, using Document Object Model to parse the model information. Secondly, the Finite state machine (FSM) is chosen as the intermediate transformation model, during which concurrent and composite states are processed. Based on this, test paths are generated using the All Transitions (AT) algorithm and the Modified Condition/Decision Coverage (MC/DC) algorithm. Test data are created using constraint-solving methods, ultimately leading to the output of effective test cases.

Harbin Institute of Technology (CN), Shenzhen Academy of Aerospace Technology (CN)
National Natural Science Foundation of China
Openalex Percentile: Top 71%
Software Testing and Debugging Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.