张丽, 戴丽丽, 杜兰. 基于敏捷开发模式的回归测试用例排序技术[J]. 微电子学与计算机, 2020, 37(12): 48-52.
引用本文: 张丽, 戴丽丽, 杜兰. 基于敏捷开发模式的回归测试用例排序技术[J]. 微电子学与计算机, 2020, 37(12): 48-52.
ZHANG Li, DAI Li-li, DU Lan. Test case prioritization for regression testing based on agile development mode[J]. Microelectronics & Computer, 2020, 37(12): 48-52.
Citation: ZHANG Li, DAI Li-li, DU Lan. Test case prioritization for regression testing based on agile development mode[J]. Microelectronics & Computer, 2020, 37(12): 48-52.

基于敏捷开发模式的回归测试用例排序技术

Test case prioritization for regression testing based on agile development mode

  • 摘要: 基于敏捷开发模式的回归测试, 面临快速交付的问题.为此, 提出一种动态回归测试排序算法:首先, 将回归测试用例分为新功能测试用例和原功能测试用例; 采用不同算法, 分析需求与模块以及模块与测试用例之间映射关系, 完成新功能测试用例排序; 结合原有排序, 分析新功能对原功能的影响, 以及测试用例的历史执行信息, 完成原功能测试用例排序.在测试序列执行过程中动态调整用例优先级.最后, 使用Google公开数据集进行实验, 验证算法的有效性, 实验结果显示平均APFD值达到98.08%.

     

    Abstract: Regression testing based on agile development mode is faced with the problem of fast delivery. So a new algorithm is proposed. Firstly, the regression test cases are divided into new function test cases and original function test cases, and different algorithms are adopted: analyzing the mapping relationship between requirements and modules as well as between modules and test cases, completing the sorting of new function test cases; combined with the original sorting, and analyzing the impact of new functions on the original functions, as well as the execution of test cases, completing the sorting of original function test cases. Then the priority of test cases is adjusted dynamically during the execution. Finally, through the experiments on the open data set of Google, the effectiveness of the algorithm is verified. The average APFD value is 98.08%.

     

/

返回文章
返回