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

基于类成员后向切片的面向对象程序回归测试
引用本文:缪力,张大方.基于类成员后向切片的面向对象程序回归测试[J].装甲兵工程学院学报,2004,18(2):31-34,60.
作者姓名:缪力  张大方
作者单位:湖南大学计算机与通信学院,长沙,410082
摘    要:程序切片是一种重要的程序分析方法,类成员级粒度的切片技术目前仅仅有Tip提出的类层次切片技术.Tip提出的类层次切片技术其分析基础是Rossie-Friedman的类层次框架,但主要用于面向对象程序的优化,并不适用于回归测试.本文基于Rossie-Friedman的类层次框架提出类成员后向切片方法,并提出一个覆盖类的方法一级的回归测试策略.

关 键 词:回归测试  面向对象  类层次  程序切片  类成员后向切片
文章编号:1672-1497(2004)02-0031-04
修稿时间:2004年3月15日

Regression Testing of Object-Oriented Programs Based on Backward-slicing Class Members
MIAO Li ZHANG Da-fang.Regression Testing of Object-Oriented Programs Based on Backward-slicing Class Members[J].Journal of Armored Force Engineering Institute,2004,18(2):31-34,60.
Authors:MIAO Li ZHANG Da-fang
Institution:MIAO Li ZHANG Da-fang
Abstract:It is obvious that small changes made in a part of program can have major and non-local effects in object-oriented programs. Therefore, reducing the expense of regression testing is very important. Program slicing is an important method for program analysis and testing. Tip is the only known one that has put forward a method for slicing class hierarchies. It is a method that can slice class members of object-oriented programs and Tip's method is based on the Rossie-Friedman framework. However, its aim is to optimize object-oriented programs, thus not directly applicable to regression testing. Basing on the Rossie-Friedman framework, this paper presents a novel slicing method on class members, namely backward-slicing method. Furthermore, we present a regression testing strategy, using granularity at the class member level.
Keywords:regression testing  object-oriented program analysis  class hierarchy analysis  program slicing  backward-slicing of class members
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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