Journal of Software:2001.12(3):372-376

(北京大学 计算机科学与技术系,北京)
An Approach to Object-Oriented Software Regression Testing
FANG Fei,SUN Jia-su,WANG Li-fu,YANG Fu-qing
Chart / table
Similar Articles
Article :Browse 2701   Download 3177
Received:November 15, 1999    Revised:January 13, 2000
> 中文摘要: 回归测试的目标之一是在程序修改后,只对进行修改的部分重新测试,从而达到与完全测试相同的测试覆盖.利用数据流或部分数据流技术,对结构化程序进行回归测试的技术已相继提出.随着面向对象方法的逐渐成熟,对面向对象软件测试技术的研究有了迫切的需求.通过分析对象系统的特性,定义了对象之间的依赖关系,通过这个依赖关系,导出测试对象的方法序列,并应用程序切片技术,标识那些受到程序修改影响的测试用例,只有这些测试用例才需要在回归测试中重新执行.最后给出了一完整的对象系统的回归测试解决方案.
Abstract:After changes are made to a previously tested program, a goal of regression testing is to retest the program based only on the modification while maintaining the same testing coverage as the complete retesting of the program. Several regression techniques for structural programs using data flow or partial data flow (also known as program slicing) have been proposed. With the object oriented (OO for short) method growing mature, there is an urgent need of testing techniques for OO programs. In this paper, based on the analysis of characteristics of OO system, firstly, the dependency relations among objects are defined, from which series of objects' methods are deduced. Secondly, program slicing techniques are used to identify test cases to be applied to modification. Finally, a complete regression approach to OO program is presented.
文章编号:     中图分类号:    文献标志码:
基金项目:国家“九五”重点科技攻关项目资助(98-780-01-02) 国家“九五”重点科技攻关项目资助(98-780-01-02)
Foundation items:
Reference text:


FANG Fei,SUN Jia-su,WANG Li-fu,YANG Fu-qing.An Approach to Object-Oriented Software Regression Testing.Journal of Software,2001,12(3):372-376