检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《计算机科学》2015年第12期124-129,共6页Computer Science
基 金:2014国家自然科学基金(61170082;61073035);教育部新世纪优秀人才计划(NCET-12-0757);留学回国人员科研启动基金(LXJJ201303)资助
摘 要:测试用例优先排序是一种有效的降低回归测试开销的技术,通过对测试用例按照其重要程度排序后可获得更高的测试效率。针对传统多目标遗传算法在测试用例优化排序中存在的收敛较慢、易陷入局部最优、缺乏对不同测试准则的综合权衡等缺点,提出一种基于竞争模式的多目标协同进化算法。该方法采用平均代码覆盖率以及平均变异杀死率作为多个约束目标的测试准则来进行适应度度量,提高算法的错误检测率;使用个体绝对适应度与相对适应度对个体生存能力进行评价,衡量个体优秀程度,利用竞争性的协同进化思想加快算法收敛速度;通过剔除"老年"个体控制个体生存周期来避免陷入局部最优问题。同时,在影响算法执行效率的因素方面也进行了一系列的实验,结果表明该算法能够加快收敛速度,加强了局部搜索能力,相对于传统的优化算法来说具有更好的搜索效率和更高的错误检测率,从而验证了算法的有效性和可行性,证明了该算法具有一定的现实意义。Test case prioritization is an effective method to significantly reduce costs of regression test. According to some certain aim of test purpose, the main idea of test case prioritization is to rearrange the permutation of the test suite in order to execute the test case with higher priority preferentially. Aiming at the defect of single object genetic algo- rithm in test case prioritization, such as slow convergence speed, easy to be trapped in local optimum and lacking of the trade-off between multiple testing criteria, a new competitive co-evolutionary approach was adopted to resolve these problems. In this new approach,multi metrics of fitness are used, including the absolute fitness which evaluates the survival ability of an individual and the relative fitness which estimates the number of defeated opponents of each individual. The outstanding individuals who defeat more opponents can join the elite set for further evolution. By eliminating "old" individuals, this approach can control the individual's survival time to avoid the local optimum. To improve the efficiency of error detection, we introduced the average percentage of mutation kill rate as a new multi-objective optimization criterion. Comparing to the classical search algorithm, the co-evolutionary algorithm can improve the search efficiency and local search ability, and experiment verified the validity of the new approach.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.10