DocumentCode :
1927997
Title :
Checking inside the black box: regression testing based on value spectra differences
Author :
Xie, Tao ; Notkin, David
Author_Institution :
Dept. of Comput. Sci. & Eng., Washington Univ., Seattle, WA, USA
fYear :
2004
fDate :
11-14 Sept. 2004
Firstpage :
28
Lastpage :
37
Abstract :
Comparing behaviors of program versions has become an important task in software maintenance and regression testing. Traditional regression testing strongly focuses on black-box comparison of program outputs. 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 behavior differences between versions. We present a new class of program spectra, value spectra, which enriches the existing program spectra family. We compare the value spectra of an old version and a new version to detect internal behavior 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 behavior deviations. We have conducted an experiment on seven C programs to evaluate our approach. The results show that our approach can effectively expose program behavior differences between versions even when their program outputs are the same, and our approach reports deviation roots with high accuracy for most programs.
Keywords :
C language; configuration management; program testing; regression analysis; software maintenance; C program; black box; deviation roots; deviation-propagation call tree; internal behavior deviations; internal behavior differences; program behavior; program locations; program outputs; program spectra; program versions; regression testing; software maintenance; value spectra differences; Computer science; Electronic mail; Fault diagnosis; Propagation losses; Runtime; Software maintenance; Software testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Maintenance, 2004. Proceedings. 20th IEEE International Conference on
ISSN :
1063-6773
Print_ISBN :
0-7695-2213-0
Type :
conf
DOI :
10.1109/ICSM.2004.1357787
Filename :
1357787
Link To Document :
بازگشت