摘要: 提出了一种新的面向对象软件簇级测试方法,在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.
中图分类号:
苏荟;张毅坤;姚海波;费蓉;. 基于UML顺序图的面向对象软件簇级测试[J]. , 2005, 31(24): 88-.
SU Hui1,ZHANG Yikun1,YAO Haibo1,2,FEI Rong1. Object-oriented Software Cluster-level Testing Based on UML Sequence Diagram[J]. , 2005, 31(24): 88-.