软件自动化测试背景下数据生成工具的设计与实现

 2022-03-30 08:03

论文总字数:27215字

摘 要

软件测试工作在整个软件开发过程中占有非常重要的作用。软件测试工作质量的好坏,直接决定着整个软件质量,影响着整个软件的可靠性。随着计算机软件行业的不断发展,软件开发周期逐渐缩短,开发的工作量也在不断的增加,软件的复杂程度和规模也是不断在增大的,这就需要更加严格和可靠的测试工作来辅助软件开发工作的完成和成果的验证。目前国内的互联网企业普遍出现测试人员少,任务重的现象,只凭借人力的测试是远远不足以完成测试任务的。实现软件自动化测试可以显著的降低回归测试的人工的工作量,降低性能测试的复杂程度,从而缩短软件测试的周期以便于适应逐渐缩短的开发周期。

本文首先对于软件测试自动化技术以及软件自动化测试工具的背景以及发展过程进行了简单的介绍,随后对现有的软件自动化测试工具的优劣进行分析以及总结。然后以东软睿驰有限公司自动驾驶事业部的数据生成工具为例,基于企业开发及后续测试的数据处理需求,针对企业内部使用的数据生成工具进行功能设计和具体实现,以辅助软件自动化测试的工作,同时做到简单易操作,使得测试人员的学习成本降到最低。

关键词:软件自动化测试,数据生成工具,工具设计,工具实现

Abstract

Software testing plays a very important role in the whole software development process. The quality of software testing directly determines the quality of the whole software and affects the reliability of the whole software. With the continuous development of the computer software industry, the software development cycle is gradually shortened, the development workload is also increasing, and the complexity and scale of the software is also increasing, which requires more rigorous and reliable testing to assist the completion of software development and the verification of results. At present, there are few testers and heavy tasks in domestic Internet enterprises. It is far from enough to complete the test task only by human testing. Automated software testing can significantly reduce the manual workload of regression testing, reduce the complexity of performance testing, thus shortening the software testing cycle in order to adapt to the gradually shortened development cycle.

Firstly, this thesis briefly introduces the technology of software test automation and the background and development process of software test automation tools, and then analyses and summarizes the advantages and disadvantages of existing software test automation tools. Then, taking the data generation tool of the Autopilot Division of NeuSoft Reach Co., Ltd. as an example, based on the data processing requirements of enterprise development and subsequent testing, the function design and implementation of the data generation tool used in the enterprise are carried out to assist the work of software automation testing, .At the same time, it is simple and easy to operate, so that the learning cost of testers can be minimized.

Key words: software automation testing, data generation tools, tool design, tool implementation

目 录

摘 要 1

Abstract 2

第一章 绪论 5

1.1选题背景及选题意义 5

1.2软件自动化测试发展以及研究现状 6

1.3本文的主要研究内容及结构安排 7

第二章 软件自动化测试相关内容概述 9

2.1软件自动化测试的概念和分类 9

2.1.1软件自动化测试的概念 9

2.1.2软件自动化测试的分类 9

2.2软件自动化测试的优缺点 10

2.2.1软件自动化测试的优势 10

2.2.2 软件自动化测试的局限性 11

2.3 软件自动化测试的过程 12

2.4 软件自动化测试过程中需要注意的问题 13

第三章 数据生成工具的需求分析 15

3.1 概述 15

3.2功能需求分析 15

3.2.1图像标注工具功能需求分析 15

3.2.2样本提取与统计工具的功能需求分析 16

3.3性能需求分析 17

3.4安全方面需求 17

3.5本章小结 18

第四章 数据生成工具的设计实现 19

4.1自动化测试工具的设计 19

4.1.1总体设计 19

4.1.2系统功能设计 21

4.2自动化测试工具的实现 22

4.2.1图像标注工具的实现 22

4.2.2样本提取与统计工具的实现 25

4.3本章小结 28

第五章 总结与展望 29

5.1总结 29

5.2展望 30

参考文献 31

致 谢 33

第一章 绪论

1.1选题背景及选题意义

软件测试在整个软件开发的过程中起到了不可或缺的作用,是保证整个软件质量和提高软件可靠性的重中之重。做好软件测试还可以降低日后对于软件产品的维护成本,同时也提高了企业的信誉口碑和综合实力。

测试可能是软件项目中最昂贵的任务。在一项估计中,测试阶段占据了项目资源的50%以上[1]。除了造成直接成本外,测试还与质量差相关的成本有关,因为故障程序和错误会给软件生产商带来巨大的额外费用。在一项估计中,由于测试不充分和客户发现的错误,美国的软件生产商每年损失212亿美元。通过将错误导致的费用加在软件用户身上,估计增加到595亿美元,其中22亿美元可以通过投资测试基础设施来节省[2]。因此,从长远来看,提高软件质量和测试过程的有效性是降低软件开发人员和用户软件成本的有效途径。

剩余内容已隐藏,请支付后下载全文,论文总字数:27215字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;