On regression testing of object-oriented programs

被引:63
作者
Kung, DC [1 ]
Gao, J [1 ]
Hsia, P [1 ]
Toyoshima, Y [1 ]
Chen, C [1 ]
机构
[1] FUJITSU NETWORK TRANSMISS SYST INC,SAN JOSE,CA
关键词
D O I
10.1016/0164-1212(95)00047-X
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Regression testing is an important activity in software maintenance. Although a number of studies have addressed the problems and solutions in regression testing of traditional programs, no studies have focused on the issues and solutions in regression testing of object-oriented programs. In this article, we discuss various types of code changes of classes in an object-oriented program and present a method for identifying these changes and the affected classes. An algorithm for generating a desirable order to test the affected classes is also described. The basic model we use is an object relation graph, which depicts the inheritance, aggregation, and association relations that exist in the object-oriented program to be maintained. The test order generation algorithm can be applied to acyclic as well as cyclic object relation graphs. The results of this work have been implemented and applied to testing of many example applications, including the InterViews library.
引用
收藏
页码:21 / 40
页数:20
相关论文
共 29 条
[1]  
Aho A. V., 1983, DATA STRUCTURES ALGO
[2]  
[Anonymous], 1990, Object-Oriented Modeling and Design
[3]  
Beizer B., 2003, Software Testing Techniques
[4]  
FIEDLER SP, 1989, HP J APR
[5]  
FISCHER K, 1977, P INT COMP SOFTW APP, P421
[6]  
FISCHER KF, 1981, NATIONAL TELECOMMS C
[7]  
GAO J, 1994, 942 U TEX ARL SOFTW
[8]  
GAO J, 1993, 931 U TEX ARL SOFTW
[9]  
GAO JZ, 1995, THESIS U TEXAS ARLIN
[10]  
Gupta R., 1992, P IEEE C SOFTW MAINT, P299