摘要
面向对象软件的一个突出特点就是存在于类间的复杂依赖关系:继承、聚合和关联。提出了一种测试类间关系的方法,自动从UML图或源代码中导出类间的三种关系,并给出了相应的类间关系图和各个类的测试次序的类簇测试算法。该算法导出的类间关系可用于类间的静态和动态依赖关系测试。
One of the characteristics of object _ oriented software is the complex dependency that may exist between classes due to inheritance,association and aggregation relationships. This paper presents a suit of approach for inter class relationship test: three relationships are exported from source code or UML diagram,and their Class Relationship Diagram(CRD)is given to describe these relationships among classes,The ClusterOrder algorithm is presented for testing polymorphism interactions among classes in object oriented software.
出处
《电脑开发与应用》
2005年第10期15-16,共2页
Computer Development & Applications
基金
国家税务总局资助项目。
关键词
类间关系
文法
生命周期
构造算法
测试次序
inter_ class relationship, grammar, life cycle, construct algorithm, test order