检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]江西省教育考试院,江西南昌330006 [2]南昌航空大学软件学院,江西南昌330063
出 处:《计算机与现代化》2011年第8期32-38,共7页Computer and Modernization
基 金:江西省教育科研基金资助项目(GJJ08232)
摘 要:UML协作图能够描述对象之间动态的交互关系及对象之间消息传递的过程,根据协作图中的消息流和控制流可以获取有用的场景模型并生成测试用例。本文在研究UML协作图和确定有穷自动机(DFA)之间对应关系的基础上,提出一种将UML协作图转换为DFA,再从DFA中提取测试场景生成测试用例的方法,并将该方法应用于实际项目的测试用例生成。最后,通过对结果进行数据对比和分析,说明该测试用例生成方法的有效性。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 test case generation of one real project "manhour quota management system".Through the data comparison and analysis of the results,the method is proved effective and practical.
分 类 号:TP311.05[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.119.131.131