Diversity-Oriented Test Suite Generation for EFSM Model
Diversity-Oriented Test Suite Generation for EFSM Model
复制标题
EFSM 模型的面向多样性的测试套件生成
DOI:
10.1109/tr.2020.2971095
复制
发表时间:
2020
影响因子:
5.9
通讯作者:
Li Zheng
中科院分区:
文献类型:
--
作者:
Zhao Ruilian;Wang Weiwei;Song Yuqi;Li Zheng
In this article, test diversity has been suggested to be a valid way to improve test suite effectiveness. Extended finite state machine (EFSM) is a widely used formal model, but little attention is paid on the test suite generation with more diversity. EFSM test suite generation involves test paths generation and test data generation. Considering the discrepancy between test paths has a more crucial impact on the diversity of test suite, compared with the difference between test data, this article, therefore, mainly concerns the test paths generation with more diversity for EFSM models. Hence, the factors that influence the discrepancy between test paths are investigated. Then based on these factors, an integrated distance metric is designed to evaluate the dissimilarity between test paths, and a diversity measurement for EFSM test suite is presented. Furthermore, a diversity-oriented test suite generation (DOTSG) method is proposed where a dissimilarity-based fitness function and diversity-oriented update strategy are adopted in traditional coverage-oriented EFSM test suite generation (COTSG) by genetic algorithm. The experimental results show that, compared to COTSG, our DOTSG can not only generate more diverse test suite to satisfy a certain coverage criteria, improving the fault detection capability of the test suite, but also decrease the evolution time cost and the size of test suite generated.