面向对象软件回归测试技术研究  被引量:31

An Approach to Object-Oriented Software Regression Testing

在线阅读下载全文

作  者:方菲[1] 孙家骕[1] 王立福[1] 杨芙清[1] 

机构地区:[1]北京大学计算机科学与技术系,北京100871

出  处:《软件学报》2001年第3期372-376,共5页Journal of Software

基  金:国家"九五"重点科技攻关项目资助!(98- 780 - 0 1- 0 2 )&&

摘  要:回归测试的目标之一是在程序修改后 ,只对进行修改的部分重新测试 ,从而达到与完全测试相同的测试覆盖 .利用数据流或部分数据流技术 ,对结构化程序进行回归测试的技术已相继提出 .随着面向对象方法的逐渐成熟 ,对面向对象软件测试技术的研究有了迫切的需求 .通过分析对象系统的特性 ,定义了对象之间的依赖关系 ,通过这个依赖关系 ,导出测试对象的方法序列 ,并应用程序切片技术 ,标识那些受到程序修改影响的测试用例 ,只有这些测试用例才需要在回归测试中重新执行 .最后给出了一完整的对象系统的回归测试解决方案 .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.

关 键 词:面向对象 程序切片 数据流 回归测试 软件测试 软件开发 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象