首页 | 本学科首页   官方微博 | 高级检索  
     

面向对象软件回归测试技术研究
引用本文:方菲,孙家骕,王立福,杨芙清.面向对象软件回归测试技术研究[J].软件学报,2001,12(3):372-376.
作者姓名:方菲  孙家骕  王立福  杨芙清
作者单位:北京大学 计算机科学与技术系,
基金项目:国家“九五”重点科技攻关项目资助(98-780-01-02)
摘    要:回归测试的目标之一是在程序修改后,只对进行修改的部分重新测试,从而达到与完全测试相同的测试覆盖.利用数据流或部分数据流技术,对结构化程序进行回归测试的技术已相继提出.随着面向对象方法的逐渐成熟,对面向对象软件测试技术的研究有了迫切的需求.通过分析对象系统的特性,定义了对象之间的依赖关系,通过这个依赖关系,导出测试对象的方法序列,并应用程序切片技术,标识那些受到程序修改影响的测试用例,只有这些测试用例才需要在回归测试中重新执行.最后给出了一完整的对象系统的回归测试解决方案.

关 键 词:面向对象  增量层次模型  程序切片  数据流  回归测试
收稿时间:1999/11/15 0:00:00
修稿时间:1999年11月15

An Approach to Object-Oriented Software Regression Testing
FANG Fei,SUN Jia-su,WANG Li-fu and YANG Fu-qing.An Approach to Object-Oriented Software Regression Testing[J].Journal of Software,2001,12(3):372-376.
Authors:FANG Fei  SUN Jia-su  WANG Li-fu and YANG Fu-qing
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.
Keywords:object oriented  incremental hierarchy model  program slicing  data flow  regression testing
本文献已被 维普 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号