arrow
返回

Checking inside the black box: Regression testing by comparing value spectra

delete2005-10-01
delete40
PRE
AI
T
Tao Xie
D
David Notkin
DOI:10.1109/TSE.2005.107delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Comparing behaviors of program versions has become an important task in software maintenance and regression testing. Black-box program outputs have been used to characterize program behaviors and they are compared over program versions in traditional regression testing. Program spectra have recently been proposed to characterize a program's behavior inside the black box. Comparing program spectra of program versions offers insights into the internal behavioral differences between versions. In this paper, we present a new class of program spectra, value spectra, that enriches the existing program spectra family. We compare the value spectra of a program's old version and new version to detect internal behavioral deviations in the new version. We use a deviation-propagation call tree to present the deviation details. Based on the deviation-propagation call tree, we propose two heuristics to locate deviation roots, which are program locations that trigger the behavioral deviations. We also use path spectra ( previously proposed program spectra) to approximate the program states in value spectra. We then similarly compare path spectra to detect behavioral deviations and locate deviation roots in the new version. We have conducted an experiment on eight C programs to evaluate our spectra-comparison approach. The results show that both value-spectra-comparison and path-spectra-comparison approaches can effectively expose program behavioral differences between program versions even when their program outputs are the same, and our value-spectra-comparison approach reports deviation roots with high accuracy for most programs.
Keyword:
program spectra
regression testing
software testing
empirical studies
software maintenance
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
2.8K
被引数:
1.1W

机构

暂无机构信息
引用论文

引用论文

err分享
err收藏
Relative debugging: A new methodology for debugging scientific applications
err1996-11-01
err21
errOAAI
errAbramson, D; Foster, I; Michalakes, J; Sosic, R
err分享
err收藏
Shared resources and disease dynamics in spatially structured populations
err2014-01-01
err0
PREAI
errCharles L. Nunn; Peter H. Thrall; Peter M. Kappeler
err分享
err收藏
学者 查看更多内容