期刊文献+

基于ODDWG的面向对象软件集成测试序列生成

Object-oriented software integrated testing sequence based on ODDWG
下载PDF
导出
摘要 为了更好地完成面向对象软件测试中的集成测试,提出了一种基于UML类图的面向对象软件集成测试方法。首先从UML类图的文件中利用RationalRose提供的接口将类图中的类内信息、类间信息提取出来,并计算每个类的内聚度以及类间耦合度,同时把每个类看作有向图的结点,类的内聚度、类间耦合度的加权作为节点的权值,类间关系的出度作为关系的权值。根据动态绑定的特点,在图中添加类间可能存在的动态绑定线索;然后,遍历该动态对象赋权图生成集成测试的测试序列;最后对生成的序列进行筛选,得出最有效的测试序列。实验证明该方法是有效的。 In this paper, an object-oriented (OO) software integrated testing approach based on UML class diagram is presented to complete the integrated testing of OO software perfectly. The class content and messages between classes are extracted from UML class diagram file by using the interface provided by RationalRose. The coherence of each class and coupling factor between classes are calculated. Each class is taken as the node of directed weight graph, the weight of the class coherence and the coupling factor between classes as the nodeJs weight value, and the out-degree of relation between classes as the weight value of the relation. The dynamic binding clues which possibly exists between classes are added into the diagram according to the features of dynamic banding, this dy- namic object directed weight graph is traveled to generate the integrated testing sequence. The sequence are screened to get more valid results. The experiments proved the effectiveness of the method.
作者 苏荟
出处 《现代电子技术》 2012年第18期38-40,共3页 Modern Electronics Technique
关键词 UML类图 有向赋权图 面向对象软件集成测试 ODDWG UML class diagram DWG O0 integrated testing object dynamic directed weight graph
  • 相关文献

参考文献9

二级参考文献39

  • 1王林章,李宣东,郑国梁.一个基于UML协作图的集成测试用例生成方法[J].电子学报,2004,32(8):1290-1296. 被引量:25
  • 2尚绪全,张毅坤.基于UML的构件软件集成测试用例生成研究[J].计算机工程,2006,32(1):96-98. 被引量:7
  • 3胡顺仁,陈伟民,廖昌荣,余淼,梁宗保.基于UML类图的类之间依赖关系图论问题研究[J].计算机工程,2006,32(12):1-2. 被引量:9
  • 4张雪萍,李连辉.基于UML状态图的类状态测试[J].微电子学与计算机,2006,23(11):126-129. 被引量:5
  • 5蒋慧 吴礼发 等.UML Programming Guide设计核心技术[M].北京:希望电子出版社,2001..
  • 6Boggs W 邱仲潘(译).UML with Rational Rose从入门到精通[M].北京:电子工业出版社,2000..
  • 7Lin Jin-Chemg,Ho Ian.Generating timed test cases with oracles for real-time software[J].Advances in Engineering Software,2001,32: 705-715.
  • 8Ho Lan,Lin Jin-cherng.Generating test case for real-time software by time Petri nets model[C]//Proceeding of the 8th Asian Test Symposium, 1990.
  • 9Yao Weili,He Xudong.Mapping Petri nets to parallel programs in CC++[C]//COMPSAC'96-20th Computer Software and Applications Conference, 1996.
  • 10Bertolino A,MarrC M.Automatic generation of path covers based on the control flow analysis of computer programs[J].IEEE Transaction on Software Engineering, 1994,20(12).

共引文献17

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部