摘要
本文提出了一种新的面向对象软件簇级测试用例生成方法。在UML顺序图的基础上,首先从*.MDL文档中提取出类间的交互信息;然后,依据从UML顺序图中提取出来的类间的交互信息,采用文中给出的算法生成测试用例;最后,将生成的测试用例依据XML文档的格式存储,以便于管理,并通过实例对该测试用例生成方法进行了验证。
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 messages. 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.
出处
《计算机工程与科学》
CSCD
2007年第11期66-68,共3页
Computer Engineering & Science