基于改进遗传算法的回归测试用例优先级排序  被引量:4

Priority Ranking of Regression Test Cases Based on Improved Genetic Algorithm

在线阅读下载全文

作  者:刘音 LIU Yin(Beijing Jiaotong University Haibin College,Hebei Huanghua 061199,China)

机构地区:[1]北京交通大学海滨学院,河北黄骅061199

出  处:《计算机仿真》2021年第2期273-277,共5页Computer Simulation

基  金:沧州市科学技术局项目(183103004)。

摘  要:由于优先级排序测试效果较差、执行效率低,为此提出基于改进遗传算法的回归测试用例优先级排序方法。通过自然选择与遗传理论作为基本条件,结合群体中染色体任意信息交换机制和生物进化过程内适者生存规则,完成遗传算法,接着引入禁忌搜索方法,增强排序的局部超强搜索能力,然后在回归测试的过程内,利用多个目标函数对回归测试用例优先级排序以及评价,完成回归测试用例优先级排序。实验结果表明,经过时间以及覆盖的角度考察,执行时间较短,平均分支较大,说明该序列优良,本文方法的回归测试效果较好,执行效率高。The traditional prioritization test results are poor and the execution efficiency is low.Therefore,this paper proposes a regression test case prioritization method based on improved genetic algorithm.First of all,the mechanism of chromosome arbitrary information exchange in population and survival rules of the fittest in the process of biological evolution were combined to achieve the genetic algorithm by using natural selection and genetic theory.Then,the tabu search method was introduced for enhancing the local super search ability of sorting.Finally,in the process of regression testing,multiple objective functions were used to prioritize and evaluate the regression test cases.Eventually,the regression test cases are prioritized.The results show that this method has short execution time,large average branch,excellent regression test effect and high execution efficiency.

关 键 词:改进遗传算法 回归测试 用例优先级排序 禁忌算法 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象