J4 ›› 2007, Vol. 29 ›› Issue (11): 66-68.
• 论文 • 上一篇 下一篇
苏荟[1] 张毅坤[2]
出版日期:
发布日期:
Online:
Published:
摘要:
本文提出了一种新的面向对象软件簇级测试用例生成方法。在UML顺序图的基础上,首先从*.MDL文档中提取出类间的交互信息;然后,依据从UML顺序图中提取出来的类间的交互信息,采用文中给出的算法生成测试用例;最后,将生成的测试用例依据XML文档的格式存储,以便于管理,并通过实例对该测试用例生成方法进行了验证。
关键词: 面向对象软件簇级测试 UML顺序图 多态性 动态绑定 测试用例
Abstract:
This paper presents a new method of creating testing cases for objected-oriented software-cluster-level testing based on the UML sequence diagram. Firstly we take out the communication messages among the classes from the *. MDL file. Secondly we use an algorithm to create testing cases by these messa ages. Finally we save these testing cases into a XML document and thus the document is easy-to-manage. This method is illustrated by an example.
Key words: (OO software cluster-level testing, UML sequence, polymorphism, dynamic binding;testing case)
苏荟[1] 张毅坤[2]. 基于UML顺序图的面向对象软件簇级测试用例生成[J]. J4, 2007, 29(11): 66-68.
0 / / 推荐
导出引用管理器 EndNote|Ris|BibTeX
链接本文: http://joces.nudt.edu.cn/CN/
http://joces.nudt.edu.cn/CN/Y2007/V29/I11/66