作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (06): 67-69. doi: 10.3969/j.issn.1000-3428.2010.06.022

• 软件技术与数据库 • 上一篇    下一篇

回归测试中基于值谱比较的偏离根定位法

丁怀宝,高建华   

  1. (上海师范大学计算机科学与工程系,上海 200234)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2010-03-20 发布日期:2010-03-20

Deviation Root Localization Method Based on Value Spectra Comparison in Regression Test

DING Huai-bao, GAO Jian-hua   

  1. (Department of Computer Science and Engineering, Shanghai Normal University, Shanghai 200234)
  • Received:1900-01-01 Revised:1900-01-01 Online:2010-03-20 Published:2010-03-20

摘要: 在回归测试中,利用程序谱中的值谱比较不同版本程序的内部行为,将程序的比较转换为函数状态的比较,以估计偏离发生的大概位置,找到偏离根所在的函数。引入偏离调用树记录发生偏离的函数,在此基础上提出2种缩小偏离根定位范围的启发式方法,使偏离根的定位更精确。

关键词: 回归测试, 程序谱, 值谱, 偏离根, 偏离传播调用树

Abstract: In regression test, the internal behavior of programs with different versions are compared by using value spectra. The comparison of programs is converted to the comparison of the state of the functions to estimate where the deviation occurs and to find the function of deviation from the root. It introduces deviation-propagation call tree to record the deviated function, and proposes two kinds of heuristic ways to reduce the deviation from the positioning of the scope of the root to make the location more accurate.

Key words: regression test, program spectra, value spectra, deviation root, deviation-propagation call tree

中图分类号: