本文已被:浏览 2634次 下载 4694次
Received:May 22, 2010 Revised:June 30, 2010
Received:May 22, 2010 Revised:June 30, 2010
中文摘要: 提出了一种新颖的基于UML 图自动生成系统测试用例的方法。此方法适用于所有UML 建模的系统。用创新性地结合图论知识,对用例图和序列图进行抽象,定义了相应的测试覆盖准则以生成测试用例。通过两级遍历,自动生成系统测试向量,并且达到所提的系统测试覆盖率的要求。能够覆盖所有用例、用例依赖性、以及交互中所有的消息序列。实现最大化的覆盖范围。
Abstract:This paper presents a novel approach of generating system testing automatic test cases from UML design diagrams. This method can be applied to any system modeled by UML. Associating Graph Theory innovatively, we abstract use case and sequence diagram and define coverage criteria to generate test cases in our test case generation scheme. Through two levels traverse, generate test cases automatically and satisfy the coverage criteria stated in this paper. The test cases thus generated are suitable for system testing and to detect operational, use case dependency, interaction and scenario faults. The coverage reaches at its maximum level, covering all use cases, use case dependency, and each sequence of message path of interaction.
keywords: system testing UML(unified modeling language) use case diagram sequence diagram test case automatically generation graph theory
文章编号: 中图分类号: 文献标志码:
基金项目:
引用文本:
胡俊豪,何春,宗竹林.基于UML 的系统测试用例自动生成.计算机系统应用,2011,20(2):178-181
HU Jun-Hao,HE Chun,ZONG Zhu-Lin.Automatic System Testing Test Case Generation Based on UML.COMPUTER SYSTEMS APPLICATIONS,2011,20(2):178-181
胡俊豪,何春,宗竹林.基于UML 的系统测试用例自动生成.计算机系统应用,2011,20(2):178-181
HU Jun-Hao,HE Chun,ZONG Zhu-Lin.Automatic System Testing Test Case Generation Based on UML.COMPUTER SYSTEMS APPLICATIONS,2011,20(2):178-181