首页 | 官方网站   微博 | 高级检索  
     

面向持续集成的回归测试优化方法
引用本文:胡鹏,常朝稳,祝现威,肖警续.面向持续集成的回归测试优化方法[J].计算机应用研究,2021,38(12):3709-3714.
作者姓名:胡鹏  常朝稳  祝现威  肖警续
作者单位:信息工程大学,郑州450001;中国人民解放军69016部队,乌鲁木齐830001;信息工程大学,郑州450001;中国人民解放军61660部队,北京 100089
摘    要:针对持续集成环境下回归测试需要进行持续优化的问题,提出一种依据回归测试目标自适应调整策略的优化方法.首先将失败标志、缺陷检测数、重要性因子、新旧功能标志作为用例属性进行标记,根据历史数据和关联关系对用例属性进行初始化;而后根据阶段测试目标,区分新功能测试、修改性测试,将需求映射为具体的用例属性指标,据此对用例进行选择;计算重要性因子,更新用例属性标签,根据用例属性进行优先级自动排序;用例执行中,按照时间、资源要求,根据用例属性选择相应规模的测试用例进行执行.最后选择开源数据集进行实验,结果表明该方法针对不同的测试目标均能够降低执行用例的规模,提高缺陷检测效率.

关 键 词:持续集成  回归测试  用例属性  测试用例优先级排序  测试用例选择
收稿时间:2021/4/30 0:00:00
修稿时间:2021/11/20 0:00:00

Regression testing optimization method for continuous integration
Hu Peng,Chang Chaowen,Zhu Xianwei and Xiao Jingxu.Regression testing optimization method for continuous integration[J].Application Research of Computers,2021,38(12):3709-3714.
Authors:Hu Peng  Chang Chaowen  Zhu Xianwei and Xiao Jingxu
Affiliation:Information Engineering University,,,
Abstract:The regression testing required continuous optimization in continuous integration environment. This paper proposed an optimization method which could adjust strategies adaptively based on regression testing objectives. Firstly, the method defined the test case attribute with failure identification, defect detection number, importance factor and function identification, and initialized them according to historical data and association relationships. Then, it distinguished between the new function and modified tests according to the test objectives, and mapped requirements to specific case attribute indicators to select the test cases. It calculated the importance factor, updated the case attribute label, and automatically sorted the priority according to the test case attributes. During the execution of the test cases, this paper selected the test cases based on the attributes according to time or resource requirements. Finally, the results on an open-dataset for experimentation show that the method can reduce the scale of execution test cases and improve the efficiency of defect detection for different test targets.
Keywords:continuous integration  regression testing  case attribute  test case prioritization  test case selection
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机应用研究》浏览原始摘要信息
点击此处可从《计算机应用研究》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号