节点文献
基于LSGA的最小测试用例集自动生成
Automatic Generation of Minimal Test Suite Based on LSGA
【摘要】 测试数据的生成是一个复杂的问题且其技术和方法还不成熟.根据实现语句覆盖的测试目标,提出了最大稳定遗传算法(LSGA).该算法充分考虑了遗传算法的稳定性并在构造适应度函数和路径编号时提出了"邻近者优先"原则和"就近路径编号"原则.这个算法可以生成满足测试目标的最小用例集且其性能明显优于遗传算法.
【Abstract】 Test data generation is a complicated problem and its method and technique are not mature.According to the test target,which achieves statement coverage,this paper proposes the largest steady genetic algorithm(LSGA).It considers the steady of GA and this paper proposes the "the neighbor first" principle and "nearby-path numbering" principle when fitness function is built and path is numbered.It can generate the minimal test suite to meet the test target and its performance is superior to GA.
【关键词】 测试用例集;
测试用例;
基本路径集;
最大稳定遗传算法;
遗传算法;
软件测试;
【Key words】 test suite; test case; basic path suite; largest steady genetic algorithm; genetic algorithm; software testing;
【Key words】 test suite; test case; basic path suite; largest steady genetic algorithm; genetic algorithm; software testing;
【基金】 安徽省教育厅自然科学基金(KJ2010B363);皖南医学院中青年科研基金(WK201038F)
- 【文献出处】 微电子学与计算机 ,Microelectronics & Computer , 编辑部邮箱 ,2011年12期
- 【分类号】TP311.53
- 【被引频次】3
- 【下载频次】54