个人信息Personal Information
教授
博士生导师
硕士生导师
任职 : 软件工程研究所副所长
性别:男
毕业院校:大连理工大学
学位:博士
所在单位:软件学院、国际信息与软件学院
电子邮箱:zren@dlut.edu.cn
Multi-Level Random Walk for Software Test Suite Reduction
点击次数:
论文类型:期刊论文
发表时间:2017-05-01
发表刊物:IEEE COMPUTATIONAL INTELLIGENCE MAGAZINE
收录刊物:SCIE、EI
卷号:12
期号:2
页面范围:24-33
ISSN号:1556-603X
摘要:Which test cases should be selected to save the time of software testing? Due to the large time cost of running all test cases, it is necessary to run representative test cases to shorten the software development cycle. Test suite reduction, an NP-hard problem in software engineering, aims to select a subset of test cases to reduce the time cost of test execution in satisfying test requirements. Recently, search based software engineering provides a new direction to test suite reduction by connecting software engineering problems with computational intelligence methods. In this paper, we propose a multi-level optimization algorithm to simplify the original problem instance of test suite reduction. In each level, we search for local optimal solutions with random walk in potential subsets of the test suite. The problem scale is reduced by locking the intersection of local optima and by discarding shielded test cases with no contribution to test requirements. We compare our algorithm with state-of-the-art methods on test suites of ten large-scale open source projects. Experiments show that our algorithm can more efficiently find optima on five out of six projects, in which Integer Linear Programming (ILP) can find optima; for the other four projects that ILP fails to solve, our algorithm provides the best solutions among heuristics in comparison.