节点文献

一种用于类测试的新方法

A New Method Used in Class Testing

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 阳展飞吴桐沈晨华钱乐秋

【Author】 Yang Zhanfei Wu Tong Shen Chenhua Qian Leqiu(Dept.of Computer Science and Engineering,Fu Dan University,Shanghai200437)

【机构】 复旦大学计算机科学与工程系复旦大学计算机科学与工程系 上海200437上海200437上海200437

【摘要】 面向对象程序的复杂性和类对象间广泛的相互依赖性使得对这样的程序的测试变得非常困难,而类又是面向对象测试中最基本的单元。对类的测试又可以分为3个级别(方法内测试,方法间测试,类内测试),难点主要集中在类内测试上。文章提出一种基于OSD(对象状态图)的新的算法用来产生进行类内测试的方法调用序列。这种算法是对传统的类测试的两种方法基于规格说明的测试和数据流测试的综合,可以使产生测试用例的复杂度大大的降低。

【Abstract】 The complexity and interdependencies of object-oriented programs makes testing such programs difficult.This paper analyzes the testing of classes of object-oriented programs which fall into three levels:intra-method testing,inter-method testing,intra-class testing.The paper then focus on intra-class testing by presenting a new method that is an integration of dataflow testing and state testing based on OSD to produce method invocation sequences for intra-class testing.

  • 【文献出处】 计算机工程与应用 ,Computer Engineering and Applications , 编辑部邮箱 ,2003年09期
  • 【分类号】TP311.52
  • 【被引频次】4
  • 【下载频次】52
节点文献中: 

本文链接的文献网络图示:

本文的引文网络