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
- Xianghu Wu
- Jiaqi Zhang (ORCID: https://orcid.org/0000-0002-3809-7739)
- Kuanjun Liu
- Shiyu Liu (ORCID: https://orcid.org/0000-0003-1405-2883)
- Tiantian Wang (ORCID: https://orcid.org/0000-0001-8223-3956)
- Peiyuan Wang
Institutions
- Harbin Institute of Technology (CN)
- Shenzhen Academy of Aerospace Technology (CN)
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
- National Natural Science Foundation of China