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

基于UML协作图和DFA的测试用例生成方法研究
引用本文:李青松,张晔.基于UML协作图和DFA的测试用例生成方法研究[J].计算机与现代化,2011(8):32-38.
作者姓名:李青松  张晔
作者单位:1. 江西省教育考试院,江西南昌,330006
2. 南昌航空大学软件学院,江西南昌,330063
基金项目:江西省教育科研基金资助项目(GJJ08232)
摘    要:UML协作图能够描述对象之间动态的交互关系及对象之间消息传递的过程,根据协作图中的消息流和控制流可以获取有用的场景模型并生成测试用例。本文在研究UML协作图和确定有穷自动机(DFA)之间对应关系的基础上,提出一种将UML协作图转换为DFA,再从DFA中提取测试场景生成测试用例的方法,并将该方法应用于实际项目的测试用例生成。最后,通过对结果进行数据对比和分析,说明该测试用例生成方法的有效性。

关 键 词:UML协作图  确定有穷自动机  测试用例

Study on Approach for Test Case Generation Based on UML Collaboration Diagram and DFA
LI Qing-song,ZHANG Ye.Study on Approach for Test Case Generation Based on UML Collaboration Diagram and DFA[J].Computer and Modernization,2011(8):32-38.
Authors:LI Qing-song  ZHANG Ye
Affiliation:LI Qing-song1,ZHANG Ye2(1.Jiangxi Provincial Education Examination Authority,Nanchang 330006,China,2.School of Software,Nanchang Hangkong University,Nanchang 330063,China)
Abstract:UML collaborative diagram describes objects interaction and the message transferring procedure between objects.So the test scenarios can be generated according to the message flow and control flow in UML collaborative diagram.After analyzing the relationship between UML collaborative diagram and deterministic finite automata(DFA),this paper presents a method of converting an UML collaborative diagram to a DFA model,then generates test scenarios and test cases based on DFA.Finally,this method is applied to t...
Keywords:UML collaborative diagram  deterministic finite automata  test case  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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