- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
基于JUnit的自动化测试系统的设计与实现-软件工程专业论文
摘 要
随着计算机所控制的对象的复杂程度不断提高和软件功能的不断增强,软件 的规模也在不断增大。为了保证所提交的软件产品能够满足客户的需求,以及在 使用中的可靠性,软件测试已成为软件生产中必不可少的质量保障手段。自动化 测试工具可以高效地完成大量可重复性工作,它不但可以大大减少测试开销,而 且能在有限的时间内显著增加测试的工作量。
本文首先介绍了课题背景,软件测试的历史和现状,然后研究了软件自动化 测试的理论,分析了软件自动化测试优缺点和适用范围,接着详细的介绍了基本 的 自 动 化 测 试 框 架 技 术 。 最 后 , 作 者 采 用 Clearcase( 版 本 控 制 )+Ant( 项 目 管 理)+JUnit(集成测试)的模式实现了一个针对某企业平台的自动化测试框架。该测试 系统主要是以目前比较成熟的自动化测试框架 JUnit 测试框架为核心,在其基础上 进行封装,对平台进行模拟,对平台的连接方式进行模拟及 JAVA 封装,对系统参 数的管理。本文对其中的某些功能进行详细设计和实现,例如平台模拟模块的 Node 的重启,平台连接模拟模块 Neal 连接的关闭,对系统参数采用 XML 方式进行管 理,并完成了对 Node 重启、Node 的 Upgrade 和 Uploop 等基本测试用例的实现, 生成了一个新的自动化测试框架,最后对系统进行了功能和性能方面的测试工作。
关键词:自动化测试 测试框架 JUnit
ABSTRACT
Along with the complexity of the object controlled by computer continuously improved and the function of software increased, software testing has become dispensable for software quality assurance so as to ensure its reliability and satisfy
customers.Automatic testing is able to accomplish a plenty of repeatable work in high
efficiency.
This paper first introduces the background of task, history and actuality of software testing. Secondly, present the theory of automated testing, analyse the advantage and disadvantage of automated testing and discuss the applicability for automated testing. At last, the author realizes an OO automatic testing for a platform of one company by adopting a pattern of Clearcase(version controller) and Ant(project management) and JUnit(integration testing). The testing system is based on the current popular testing framework like JUnit and the author encapsulates the framework and realizes the simulation of the platform, the the connection of the platform and the management of the arguments of the system. The paper design and implement some functions of the system detailed, such as the restart of Node, and shutdown of the Neal connection, and the management of the arguments used by XML, and realize some generic test cases such as node restart, node upgrade and uploop, at last, complete some testing for the function and per
您可能关注的文档
- 基于JIT的工业气体销售管理系统的设计与实现-计算机技术专业论文.docx
- 基于JIT的电子看板的设计与实现-计算机应用技术专业论文.docx
- 基于jit的炼油生产原油处理短期生产计划方法与实现-机械电子工程专业论文.docx
- 基于JIT采购模式的供应商评价选择分析-管理科学与工程专业论文.docx
- 基于JIT的实时人脸识别研究-控制工程专业论文.docx
- 基于JL产品市场细分的营销渠道优化研究-工商管理专业论文.docx
- 基于JMF的120随车视频通信系统的设计和实现-生物医学工程专业论文.docx
- 基于JFinal框架的校内课程在线答疑系统的设计与实现-软件工程专业论文.docx
- 基于JMF技术远程视频面试系统的设计与实现-软件工程专业论文.docx
- 基于JMF的网络视频会议系统的设计与实现-系统工程专业论文.docx
原创力文档


文档评论(0)