摘要
基于敏捷开发模式的回归测试,面临快速交付的问题.为此,提出一种动态回归测试排序算法:首先,将回归测试用例分为新功能测试用例和原功能测试用例;采用不同算法,分析需求与模块以及模块与测试用例之间映射关系,完成新功能测试用例排序;结合原有排序,分析新功能对原功能的影响,以及测试用例的历史执行信息,完成原功能测试用例排序.在测试序列执行过程中动态调整用例优先级.最后,使用Google公开数据集进行实验,验证算法的有效性,实验结果显示平均APFD值达到98.08%.
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%.
作者
张丽
戴丽丽
杜兰
ZHANG Li;DAI Li-li;DU Lan(Department of Computer Science,Zijin College,Nanjing University of Science and Technology,Nanjing 210046,China)
出处
《微电子学与计算机》
北大核心
2020年第12期48-52,共5页
Microelectronics & Computer
基金
江苏省高等学校自然科学研究面上项目(19KJB520039)
南京理工大学紫金学院校级科研项目(2019ZRKX0401009)。
关键词
敏捷开发
回归测试
测试用例排序
软件测试
agile development
regression testing
test case prioritization
software testing