计算机应用 ›› 2010, Vol. 30 ›› Issue (06): 1651-1654.
• 软件过程技术与中文信息处理 • 上一篇 下一篇
杜章华1,李建华2,胡江明1,程晓菊3
收稿日期:
修回日期:
发布日期:
出版日期:
通讯作者:
Received:
Revised:
Online:
Published:
摘要: 为了提高大型软件回归测试效率,将程序切片思想应用于回归测试用例选择过程,提出了方法切片及入口依赖的概念。切片算法MethodSlice以方法为基本单元进行切片,提取软件变化影响点,仅选择那些受源程序修改部分影响的测试用例进行回归测试。实验结果表明:与传统的程序切片相比,方法切片更易用于大型软件的回归测试过程中,其实现简单,不易出错,在一定程度上提高了软件回归测试效率。
关键词: 软件回归测试, 回归测试用例选择, 方法切片, 方法依赖图, 入口依赖
Abstract: In order to improve the performance of regression test for large software, the idea of slicing was applied to the selection of the regression testing cases, and Method-Slicing and entry-dependency were proposed in this paper. Method-slicing algorithm sliced the code with method as the basic unit. Only the test cases influenced by the revised source code would be re-tested. The experimental results demonstrate that the method-slicing dramatically improves the efficiency in regression testing of large software, and reduces the cost of software testing to some extent.
Key words: Regression Test, Test Case Selection, Method-Slicing, Method-Dependent Graphics, Entry-Dependent
杜章华 李建华 胡江明 程晓菊. 基于方法切片及入口依赖的回归测试研究[J]. 计算机应用, 2010, 30(06): 1651-1654.
0 / 推荐
导出引用管理器 EndNote|Ris|BibTeX
链接本文: https://www.joca.cn/CN/
https://www.joca.cn/CN/Y2010/V30/I06/1651