基于UML的软件系统测试用例生成方法及实现摘要:随着IT时代的日益发展,在一款软件开发的过程中,更多地将软件质量优先于其功能与性能考虑。要想获得高质量的软件,反复的测试必不可少,而传统软件测试技术功能的欠缺给开发人员增添了许多的不便,加之现金软件的开发愈加依赖UML技术,基于UML模型的软件测试用例生成系统应运而生。本系统的研究中,我们参考了传统的软件测试技术,取其精华,去其糟粕,并结合白盒测试技术,对每一条可行的路径进行测试。系统的设计采用Java编程语言,在前台设计一个与用户交互的界面系统,由用户自主选择图的类型和设计图,后台则动态读取相关数据,自动生成符合条件的测试用例。从最终结果来看,系统自动生成的测试用例完全符合所需的测试要求。最后,经由软件开发工作人员的试用,本系统确实可以减少开发过程中大量繁琐的工作,既节省时间又能提高效率,而且测试结果也令人满意,可以说,本系统对推动软件测试技术的进一步发展有重大意义。32642
毕业论文关键词: UML;软件测试;自动生成;测试用例
Method and Implementation of Test case generation for Software system Based on UML
Abstract: With the increasing development of the IT era, in the process of software development, more software quality prior to its function and performance. In order to obtain high quality software, essential for repeated tests, and the lack of the function of the traditional software testing technology for the developers to add a lot of inconvenience, coupled with cash software increasingly dependent on UML technology, and application system software test case generation based on UML model. The research of this system, we refer to the traditional software testing technology, its essence, to its dregs, and combined with the white box testing, test each of a feasible path. The system uses Java programming language, a system interface design and user interaction in the foreground, choose the type of plan and design by the user, the background is dynamic read the relevant data, the automatic generation of test cases meet the conditions. In the end, the system automatically generate the test case meets the required test requirements. Finally, through the trial software development staff, the system can reduce a lot of work in the development process, saving time and efficiency can be improved, and the test results are satisfactory, it can be said that this system is of great significance to promote the further development of software testing technology.
Keywords: UML;Software testing;Automatic generation;Test case
目 录
第1章 绪论 1
1.1 课题背景 1
1.2 系统设计的目的与意义 1
1.2.1 系统设计的目的 1
1.2.2 系统设计的意义 1
1.3 UML技术国内外研究情况 1
1.4 本文章节结构及主要研究内容 1
第2章 系统环境分析 3
2.1 开发工具及简介 3
2.1.1 开发环境:Eclipse 3
2.1.2 开发语言:Java 3
2.2 系统可行性研究 3
2.2.1 技术可行性 3
2.2.2 经济可行性 3
2.2.3 操作可行性 3
2.3 本章小结 3
第3章 功能需求 4
3.1 系统结构组成 4
3.1.1 前台子系统 4
3.1.2 后台子系统 4
3.2 系统功能结构图 4
3.2.1 前台子系统功能结构图 5
3.2.2 后台子系统功能结构图 5 java基于UML的软件系统测试用例生成+源代码:http://www.751com.cn/jisuanji/lunwen_29337.html