Automated EFSM-based Test Case Generation with Scatter Search

Jie Zhang,Rui Yang,Zhenyu Chen,Zhihong Zhao,Baowen Xu
DOI: https://doi.org/10.1109/iwast.2012.6228994
2012-01-01
Abstract:Extended Finite State Machine (EFSM) is widely-used to represent system specifications. Automated test data generation based on EFSM models is still a challenging task due to the complexity of transition paths. In this paper, we introduce a new approach to generate test cases automatically for given transition paths of an EFSM model. An executable EFSM model is used to provide run-time feedback information as fitness function. And then scatter search algorithm is used to search for test data that can trigger given transition paths. Based on the executable model, the expected outputs associated with test data are also collected for construction of test oracles automatically. Finally, test data (inputs) and test oracles (expected outputs) are combined to be test cases. The experimental results show that our approach can effectively generate test cases to exercise the feasible transition paths.
What problem does this paper attempt to address?