作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2005, Vol. 31 ›› Issue (24): 88-.

• 论文 • 上一篇    下一篇

基于UML顺序图的面向对象软件簇级测试

苏荟;张毅坤;姚海波;费蓉;   

  1. 西安理工大学计算机科学与工程学院,西安理工大学计算机科学与工程学院,西安理工大学计算机科学与工程学院,西安理工大学计算机科学与工程学院 西安 710048,西安 710048,西安 710048,北海市环境保护局,西安 710048
  • 发布日期:2005-12-25

Object-oriented Software Cluster-level Testing Based on UML Sequence Diagram

SU Hui1,ZHANG Yikun1,YAO Haibo1,2,FEI Rong1   

  1. (1.School of Computer Science and Engineering,Xi’an University of Technology,Xi’an 710048;2.Environment Protection Bureau of Beihai City)
  • Published:2005-12-25

摘要: 提出了一种新的面向对象软件簇级测试方法,在UML顺序图的基础上,首先从*.MDL文档中提取出类间的交互信息;其次利用程序插桩技术从源代码中提取程序运行时类间的交互信息;最后将二者进行对比,验证源代码中类间信息交互是否正确。并通过实例对该方法的正确性和有效性进行了验证。

关键词: 面向对象软件, 簇级测试, UML顺序图, 程序插桩

Abstract: This paper presents a new testing method for object-oriented software,which is based on the UML sequence diagram.It takes out the communicated messages among the classes from the *.MDL file,and takes out the communicated messages among the classes from the software by instrumentation.Finally it contrasts the two kinds of messages so as to testing the software.This method is illustrated by an example.

中图分类号: