计算机与现代化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
摘要
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)