本文已被:浏览 1665次 下载 3654次
Received:August 05, 2009 Revised:September 08, 2009
Received:August 05, 2009 Revised:September 08, 2009
中文摘要: 旨在研究运用统一建模语言(UML)活动图生成测试场景的方法。首先对UML活动图进行了形式化定义,确定了一系列覆盖准则。然后,根据覆盖准则制定活动图的一般处理思路,针对活动图中并发结构提出采用信号量和嵌套分割的方法进行处理。该方法有效控制了测试场景集的数量, 为UML活动图的自动化测试提供了系统的、有效的、可行的方法。
Abstract:This paper mainly studies how to generate test scenarios from UML activity diagram. Firstly, the activity diagram is defined formally, and coverage rules are set down. Then, based on the general thought of dealing with activity diagram with UML activity diagram, a novel method is proposed by adopting semaphore and nested partition to process the concurrent structure of activity diagram for some special elements of activity diagram. It reduces the number of test scenario effectively and also makes automatic generating test case from UML activity diagram become systemic, effective and feasible.
keywords: activity diagram test scenario unified modeling language coverage rules fully concurrent block
文章编号: 中图分类号: 文献标志码:
基金项目:
Author Name | Affiliation |
WANG Zhi-Jian | 河海大学 计算机及信息工程学院 江苏 南京 210098 |
JIN Chun |
Author Name | Affiliation |
WANG Zhi-Jian | 河海大学 计算机及信息工程学院 江苏 南京 210098 |
JIN Chun |
引用文本:
王志坚,金春.基于UML活动图生成系统测试场景的方法.计算机系统应用,2010,19(4):185-188
WANG Zhi-Jian,JIN Chun.Design of Testing Scenario Generation Based on UML Activity Diagram.COMPUTER SYSTEMS APPLICATIONS,2010,19(4):185-188
王志坚,金春.基于UML活动图生成系统测试场景的方法.计算机系统应用,2010,19(4):185-188
WANG Zhi-Jian,JIN Chun.Design of Testing Scenario Generation Based on UML Activity Diagram.COMPUTER SYSTEMS APPLICATIONS,2010,19(4):185-188