基于UML活动图的测试用例生成方法的研究
[Abstract]:With the development of software market, the importance of software testing has been paid more and more attention. However, the traditional software testing method is based on manual operation, which is inefficient and costly, so it can not meet the test requirements of complex software on a large scale. In order to improve test efficiency and reduce test cost, it is very important to optimize traditional test methods. In recent years, with the rapid development of software engineering, the application of UML has been running through the whole software development process. Software testing based on UML model has become a new testing method, and it is the theoretical basis of software test automation research. Based on the study of UML activity diagrams, this paper focuses on the design and generation of test cases based on UML activity diagrams, aiming at the common characteristics of large-scale interactive systems and the core idea of model testing technology. Firstly, this paper introduces the theory and technology related to the subject, including software testing, model-based testing, and the development and content of UML. Secondly, the testability and test strategy of UML dynamic model are analyzed, and the advantages and disadvantages of each model in guiding test are compared, and the activity diagram model is the best model to describe the behavior of the system. It is also an important theoretical basis for the research of model-based automated testing technology. Then, based on the formal definition of activity diagram and test coverage criterion, a test case generation strategy based on activity diagram is proposed. The strategy gives a test case generation framework based on UML activity diagram and discusses the test scenario and test data generation in detail. In the aspect of test scene generation, aiming at the concurrency characteristic of UML activity diagram, the concurrency module of activity diagram is first identified and compressed, and the preliminary test scenario is generated according to the coverage criterion, and then the improved instantiation algorithm is adopted. Dynamic constraint conditions are introduced to sort the activities in concurrent modules, and a complete test scenario is generated. In the aspect of test data generation, the concept of test section is introduced and optimized on the basis of traditional rotation method, and a test data combination method with higher coverage is proposed. Finally, this paper verifies the accuracy and effectiveness of the method, and gives the analysis and design of the test case generation system based on the research results. The function module partition and class diagram design of the system are introduced emphatically, and the key algorithms are given, which provide a reliable implementation scheme for the test case generation system, and improve the feasibility and completeness of the automated test.
【学位授予单位】:江苏科技大学
【学位级别】:硕士
【学位授予年份】:2016
【分类号】:TP311.53
【相似文献】
相关期刊论文 前10条
1 齐建业;李强;余祥;;基于形式活动图的协议一致性测试用例生成方法研究[J];安徽大学学报(自然科学版);2013年03期
2 管昌生,夏红霞,刘定飞,钟珞;一种结构程序设计与分析的工具[J];微电子学与计算机;1994年05期
3 王智群;;一种Concur任务树转化为UML2.0的方法[J];计算机工程;2009年11期
4 张正,刘建华,吴洁明,袁山龙;利用UML活动图进行业务分析[J];北方工业大学学报;2003年03期
5 周新宽;陈平;李青山;;一种UML活动图的逆向恢复方法[J];计算机工程与应用;2006年17期
6 孙自安,周伯生;UML活动图的评价和扩展[J];计算机工程与应用;2001年12期
7 杜薇,刘伟;UML的活动图及其在电子政务项目中的应用[J];计算机工程;2003年05期
8 崔萌 ,李宣东 ,郑国梁;UML实时活动图的形式化分析[J];计算机学报;2004年03期
9 朱雪阳,唐稚松;UML活动图的时序逻辑语义[J];计算机研究与发展;2005年09期
10 许永峰;陈平;;基于UML活动图的进程关系模型恢复方法[J];电子科技;2006年05期
相关会议论文 前3条
1 唐剑文;;基于UML嵌套活动图的回归测试用例选择[A];全国第21届计算机技术与应用学术会议(CACIS·2010)暨全国第2届安全关键技术与应用学术会议论文集[C];2010年
2 韦银星;张申生;曹健;;基于UML活动图的软件过程模型研究[A];第六届全国计算机应用联合学术会议论文集[C];2002年
3 陈章耀;李晓峰;;基于UML活动图的电信业务过程建模方法[A];2008'中国信息技术与应用学术论坛论文集(一)[C];2008年
相关重要报纸文章 前2条
1 记者 朱周良;美再谋划时代突破:斥巨资绘人脑活动图[N];上海证券报;2013年
2 本报记者 沈湫莎;绘制人脑活动图,10年太短[N];文汇报;2013年
相关硕士学位论文 前10条
1 朱羿全;安全关键嵌入式系统的SysML活动图概率验证方法研究[D];南京航空航天大学;2015年
2 常旭岭;基于Petri网的“系统的系统”的建模与仿真的研究[D];上海交通大学;2015年
3 惠文涛;基于概率模型检测的SysML活动图验证方法研究[D];解放军信息工程大学;2015年
4 俞磊;基于UML活动图的仿真与测试方法研究[D];南京大学;2014年
5 李庆;基于UML活动图的测试用例生成方法的研究[D];江苏科技大学;2016年
6 王志超;面向活动图的代码自动生成技术研究[D];哈尔滨工业大学;2010年
7 丁娜;带OCL约束的活动图多态测试方法的研究[D];重庆大学;2012年
8 叶楠;基于活动图的软件回归测试用例自动生成技术研究[D];南京大学;2012年
9 何晓云;基于活动图驱动的软件需求分析方法及应用[D];电子科技大学;2008年
10 崔霞;基于UML活动图的测试场景智能化生成方法研究[D];上海师范大学;2009年
,本文编号:2231552
本文链接:https://www.wllwen.com/kejilunwen/ruanjiangongchenglunwen/2231552.html