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

基于UML活动图的测试用例生成方法设计
引用本文:尹建月,周萌,陈升来.基于UML活动图的测试用例生成方法设计[J].电子工程师,2014(3):28-32.
作者姓名:尹建月  周萌  陈升来
作者单位:中国电子科技集团第二十八研究所,南京21007
摘    要:传统的软件测试主要依赖人工来产生测试用例,易出错、完备性差、自动化程度低。为了提高测试的完备性和自动化程度,基于模型的测试越来越受到人们的关注,这种方法的优点在于可以及早的发现缺陷,缩短开发时间。文章提出一种基于统一建模语言(Unified Modeling Language,UML)活动图模型生成测试用例的方法,结合实例重点介绍测试路径生成的具体步骤。根据该方法生成的测试用例,可以自动生成测试路径,提高了测试的完备性和自动化程度。

关 键 词:活动图  UML  测试路径  深度优先搜索

Research of Automatic Generating of Test Case Based on UML Activity Diagram
Yin Jianyue,Zhou Meng,Chen Shenglai.Research of Automatic Generating of Test Case Based on UML Activity Diagram[J].Electronic Engineer,2014(3):28-32.
Authors:Yin Jianyue  Zhou Meng  Chen Shenglai
Affiliation:(The 28th Research Institute of China Electronics Technology Group Corporation, Nanjing 210007, China)
Abstract:Traditional software testing mainly relies on manual methods to generate test cases that is er- ror-prone, completeness poor, low degree of automation. In order to improve the completeness and degree of automated testing, model-based testing attracts more and more people's attention, the advantages of this ap- proach is that the early discovery of defects can reduce development time. This paper presents a method based on UML activity diagram model for generating test cases using examples to highlight the specific steps in the test path generation. According to this method test paths can be automatically generated to improve the com- pleteness and degree of automation of the test.
Keywords:activity diagram  UML  test sequence  DFS
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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