| 注册
首页|期刊导航|计算机与现代化|基于UML协作图和DFA的测试用例生成方法研究

基于UML协作图和DFA的测试用例生成方法研究

李青松 张晔

计算机与现代化Issue(8):32-38,7.
计算机与现代化Issue(8):32-38,7.DOI:10.3969/j.issn.1006-2475.2011.08.010

基于UML协作图和DFA的测试用例生成方法研究

Study on Approach for Test Case Generation Based on UML Collaboration Diagram and DFA

李青松 1张晔2

作者信息

  • 1. 江西省教育考试院,江西南昌330006
  • 2. 南昌航空大学软件学院,江西南昌330063
  • 折叠

摘要

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 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.

关键词

UML协作图/确定有穷自动机/测试用例

Key words

UML collaborative diagram/ deterministic finite automata/ test case

分类

信息技术与安全科学

引用本文复制引用

李青松,张晔..基于UML协作图和DFA的测试用例生成方法研究[J].计算机与现代化,2011,(8):32-38,7.

基金项目

江西省教育科研基金资助项目(GJ J08232) (GJ J08232)

计算机与现代化

OACSTPCD

1006-2475

访问量0
|
下载量0
段落导航相关论文