一种基于UML动态视图的测试场景生成方法  被引量:3

Method of test scenario generation based on UML dynamic view

在线阅读下载全文

作  者:赵欣[1] 刘琳岚[1] 罗海平[1] 樊鑫[1] 

机构地区:[1]南昌航空大学计算机学院,南昌330063

出  处:《计算机应用》2009年第5期1385-1388,1392,共5页journal of Computer Applications

基  金:国家自然科学基金资助项目(60773055);江西省自然科学基金资助项目(0511066)

摘  要:针对目前测试模型中未考虑对象间交互关系产生的条件、循环消息类型造成产生的测试场景覆盖率低的问题,提出基于UML动态视图构造测试模型、生成测试场景的方法。该方法结合UML顺序图、状态图构造测试模型,等价转化成有向图,采用扩展的十字链表存储结构,在遍历过程中判断消息类型,再根据消息类型生成测试场景。应用实例说明了该方法的实用性。The current test model does not consider the condition of the interactive relationship between the objects, and the cycle message type leads to low coverage of test scenario. To resolve these problems, the authors presented a method of creating test model and test scenario based on UML dynamic view. In this method, a test model was built through UML sequential diagram and state diagram. Then it was transformed into a directed graph with extended orthogonal list structure. Test scenario was created based on the message type which was determined when traversing. Examples prove the practicability of the proposed method.

关 键 词:UML动态视图 测试场景 覆盖准则 十字链表 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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