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

基于UML状态图的测试用例自动生成方法
引用本文:杨晶,顾春华.基于UML状态图的测试用例自动生成方法[J].医学教育探索,2011(3):346-351.
作者姓名:杨晶  顾春华
作者单位:华东理工大学信息科学与工程学院,上海 200237;华东理工大学信息科学与工程学院,上海 200237
摘    要:随着UML建模在软件开发中的广泛应用,基于状态图的测试用例自动生成方法逐渐成为规格说明测试中的重要研究方向。在研究了现有测试用例生成方法的基础上,提出了采用函数最小化思想,依据边界测试准则生成测试数据,采用深度优先策略及记忆化搜索高效地生成测试用例。实验结果显示该方法能以较少的测试用例达到较高的路径覆盖率。

关 键 词:UML状态图    函数最小化    测试用例自动生成
收稿时间:2010/9/28 0:00:00

Automatic Test Case Generation Method Based on UML State Diagram
YANG Jing and GU Chun-hua.Automatic Test Case Generation Method Based on UML State Diagram[J].Researches in Medical Education,2011(3):346-351.
Authors:YANG Jing and GU Chun-hua
Institution:School of Information Science and Engineering, East China University of Science and Technology, Shanghai 200237, China;School of Information Science and Engineering, East China University of Science and Technology, Shanghai 200237, China
Abstract:Along with the wide application of UML modeling in software development, the automatic generation of test cases based on state diagram gradually becomes the major research direction of specification-based testing. By analyzing some existing methods, this paper proposes a new generation algorithm based on function minimization technique, in which the depth-first-search and memorized-search strategy is utilized to obtain test cases. Experiment shows that the present method can achieve a higher coverage rate of path via fewer test cases.
Keywords:UML state diagram  function minimization  automatic test case generation
点击此处可从《医学教育探索》浏览原始摘要信息
点击此处可从《医学教育探索》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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