节点文献

基于R_N(K)准则的测试用例生成技术

Test case generation base on R_N(K) criterion annealing algorithm

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 李宝林李志蜀金虎孙继荣陈艳红

【Author】 Li Bao-lin1,Li Zhi-shu1,Jin Hu2,Sun Ji-rong1,Chen Yan-hong1(1.School of Computer,Sichuan University,Chengdu 610065,China;2.Deptartment of Computer Science,Chengdu University of Information Technology,Chengdu 610041,China)

【机构】 四川大学计算机学院成都信息工程学院计算机系四川大学计算机学院 成都610065成都610065成都610041

【摘要】 针对完整路径覆盖测试的可行性,提出了R_N(K)测试覆盖准则。首先,将测试问题归纳为多目标函数的优化问题,为了提高生成效率,对遗传模拟退火算法中的编码、适应度函数和退火规则做了相应的改进,并利用其结果和程序插装理论来生成测试用例。试验表明,该方法与随机法和遗传算法相比有较好的效果。

【Abstract】 Structural test is one of the basic approaches for test case identification.Because of the complexity of programming languages and the variety of applications,an efficient approach for automatic generation of structural test case is by iteration which is guided by program execution results.To examine the feasibility of full path coverage test,a R_N(K) path coverage criterion is presented.First,the test is treated as multi-objective optimization.To enhance the efficiency improvements are made on the encoding,the fittness function and the annealing gene of the genetic annealing algorithm.Then the optimization results and instumentation theory are used to generate test data.Experimental results show that this approach is better than the random method and the genetic method.

【基金】 国家中小企业创新基金项目(06C26225101730);四川省科技厅基金重点项目(05GG021-003-2)
  • 【文献出处】 吉林大学学报(工学版) ,Journal of Jilin University(Engineering and Technology Edition) , 编辑部邮箱 ,2008年03期
  • 【分类号】TP311.52
  • 【被引频次】1
  • 【下载频次】68
节点文献中: 

本文链接的文献网络图示:

本文的引文网络