基于UML协作图的测试用例生成方法与实现  被引量:1

Method and implementation of test case generation based on UML collaboration diagram

在线阅读下载全文

作  者:曾红卫[1] 周建云[1] 

机构地区:[1]上海大学计算机学院,上海200072

出  处:《计算机工程与设计》2007年第16期3805-3807,3811,共4页Computer Engineering and Design

基  金:国家自然科学基金项目(60373072)

摘  要:根据组件软件的特征,提出一种基于UML协作图直接产生测试用例的方法。给出了一系列覆盖准则,并针对协作图中条件、并发和循环消息流提出相应的处理方法。采用深度优先的算法遍历所有测试场景,每个测试场景相应于一个测试用例,并设计和实现了测试用例自动生成工具系统UMLTCG。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.

关 键 词:UML协作图 测试场景 测试用例生成 覆盖准则 邻接表 

分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象