摘要
为提高软件测试效率,节省回归测试成本,本文提出了一种新的约简测试用例集的算法.该算法是遗传算法和蚁群算法两种算法的结合,首先利用遗传算法的快速随机全局搜索能力,生成蚁群算法的初始信息素,然后利用蚁群算法的正反馈性,快速得到约简测试用例集的近似最优解.最后通过仿真实验验证了该算法的有效性.
To improve the efficiency of software testing and save the cost of regression testing, a new test-suite reduction algorithm is proposed. This method combines the genetic algorithm and the ant colony algorithm. Firstly, the algorithm uses the fast and random global search capability of the genetic algorithm to generate the initialization pheromone required by the ant colony algorithm, and then uses the positive feedback of the ant colony algorithm to quickly get the approximate optimal solution of test-suite reduction. The simulation results show feasibility and effectiveness of the proposed method.
出处
《工程数学学报》
CSCD
北大核心
2012年第4期486-492,共7页
Chinese Journal of Engineering Mathematics
基金
教育部人文社会科学青年项目(10YJC790247)
湖北省教育厅中青年项目(Q20112604)
襄樊学院科研青年项目(2009YB025)~~
关键词
遗传算法
蚁群算法
测试用例集约减
测试运行代价
genetic algorithm
ant colony algorithm
test-suite reduction
test execution cost