Generating Test Scenarios using SysML Activity Diagram
Xinyue Yang, Jian Zhang, Shan Zhou, Bin Wang, Ruixue Wang
Abstract
Xinyue Yang, Jian Zhang, Shan Zhou, Bin Wang, Ruixue Wang
Abstract
Model-Based System Engineering (MBSE) applies the modeling method to system engineering and is gaining acceptance to software practitioners. SysML is an auxiliary language for MBSE, SysML activity diagram is treated as a useful design artifact to model the behavior of the system under development and identify all possible scenarios. However, it is a challenging task to identify all scenarios. In this paper, we propose an approach to generate test scenarios for systems modeled by the SysML activity diagram. The approach transforms an activity diagram into a testable composite structure, from which it then generates test scenarios. We further implemented a tool to automate the proposed approach and studied its feasibility using a case study. Experiments results show that the generated test scenarios can satisfy the given coverage criterion.
OpenAlex reports 2 citations for this work. Citation counts describe recorded attention and do not establish research quality.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
Model-Based System Engineering (MBSE) applies the modeling method to system engineering and is gaining acceptance to software practitioners. SysML is an auxiliary language for MBSE, SysML activity diagram is treated as a useful design artifact to model the behavior of the system under development and identify all possible scenarios. However, it is a challenging task to identify all scenarios. In this paper, we propose an approach to generate test scenarios for systems modeled by the SysML activity diagram. The approach transforms an activity diagram into a testable composite structure, from which it then generates test scenarios. We further implemented a tool to automate the proposed approach and studied its feasibility using a case study. Experiments results show that the generated test scenarios can satisfy the given coverage criterion.
Key concepts: Systems Modeling Language, Activity diagram, Artifact (error), Computer science, Unified Modeling Language, Class diagram, Test case, Use Case Diagram