首页 | 本学科首页   官方微博 | 高级检索  
     

基于UML协作图的测试用例生成方法与实现
引用本文:曾红卫,周建云.基于UML协作图的测试用例生成方法与实现[J].计算机工程与设计,2007,28(16):3805-3807,3811.
作者姓名:曾红卫  周建云
作者单位:上海大学,计算机学院,上海,200072
摘    要:根据组件软件的特征,提出一种基于UML协作图直接产生测试用例的方法.给出了一系列覆盖准则,并针对协作图中条件、并发和循环消息流提出相应的处理方法.采用深度优先的算法遍历所有测试场景,每个测试场景相应于一个测试用例,并设计和实现了测试用例自动生成工具系统UMLTCG.

关 键 词:UML协作图  测试场景  测试用例生成  覆盖准则  邻接表  协作图  测试用例  生成方法  diagram  collaboration  based  generation  test  case  implementation  工具系统  用例自动生成  设计  测试场景  遍历  算法  深度优先  处理方法  消息流  循环  条件
文章编号:1000-7024(2007)16-3805-03
修稿时间:2006-08-07

Method and implementation of test case generation based on UML collaboration diagram
ZENG Hong-wei,ZHOU Jian-yun.Method and implementation of test case generation based on UML collaboration diagram[J].Computer Engineering and Design,2007,28(16):3805-3807,3811.
Authors:ZENG Hong-wei  ZHOU Jian-yun
Affiliation:School of Computer Engineering and Science, Shanghai University, Shanghai 200072, China
Abstract:An approach to generating test cases from UML collaboration diagram is proposed.Firstly,coverage rules are given,and aimed at some special elements of collaboration diagram,it deals with them one by one,and then an depth first algorithm is presented to search all the scenario paths which compose test cases.Finally,a system UMLTCG that implements above testing techniques is built.
Keywords:UML collaboration diagram  test scenario  test case generation  coverage criterion  adjacency list
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号