基于Django的自动化测试框架设计与实现
发布时间:2018-07-01 10:17
本文选题:自动化测试框架 + 敏捷开发 ; 参考:《大连理工大学》2012年硕士论文
【摘要】:作为计算机核心之一的软件自诞生以来,就一直受到广泛的关注,它促进了计算机和互联网行业的高速发展,与此同时,软件的质量保证问题也越来越受到人们的关注,各种测试手段和测试方法不断涌现,人们在希望保证软件质量问题的同时,对于提高测试效率的呼声越来越高,因此,各种自动化测试技术应运而生,其中自动化测试框架和测试脚本尤为受到关注,它们的出现不但大大减轻了测试人员的工作量,同时也缩短了整个产品的研发过程,交付时间得以提前,无论对于企业还是对于客户来说,都是大有裨益的。 ASP平台作为国内某互联网公司的广告选取平台,一直承担着对广告选取和分发的作用,从而实现广告效益的最大化。对于该平台所有涉及到的测试基本都是靠手工测试来实现,目前,ASP下游各模块的测试基本都可以通过自动化方式来实现测试,所以,ASP平台各功能模块的测试一直是整个架构系统中的一个瓶颈,因此,本文基于Django开发了一个自动化测试框架来解决此问题。 论文阐述了自动化软件测试的发展状况,通过研究web开发技术的发展,比较不同的开发框架,分析了Django作为敏捷web开发的优势。针对国内某互联网公司广告选取平台的特点,给出了需求分析和总体设计,指出了该框架所承担的任务和包含的功能,基于Django开发并完成了广告选取平台的自动测试模块、配置工具及管理功能模块,实现了广告选取平台手工测试到自动化测试的转变。该框架及相关功能经过严格的测试,各项功能均已达到设计要求,在保证测试质量的前提下有效地提高了校验效率。 目前已在某公司网山提供线上服务,并且取得了非常好的使用效果。
[Abstract]:As one of the core of computer, software has been paid more and more attention since it was born. It has promoted the rapid development of computer and Internet industry. At the same time, the problem of software quality assurance has been paid more and more attention. A variety of test methods and testing methods have been emerging, people want to ensure the quality of software at the same time, to improve the efficiency of testing more and more voices, therefore, a variety of automated testing technology came into being. Automated test frameworks and test scripts are especially concerned. Their emergence not only greatly reduces the workload of the testers, but also shortens the whole product development process, and the delivery time is advanced. ASP platform, as the advertising selection platform of a domestic Internet company, has always played a role in the selection and distribution of advertisements. In order to maximize the effectiveness of advertising. All the tests involved in this platform are basically realized by manual testing. At present, the testing of all modules downstream of ASP can basically be carried out by automation. Therefore, the testing of each functional module of ASP platform is always a bottleneck in the whole architecture system. Therefore, this paper develops an automated testing framework based on Django to solve this problem. This paper describes the development of automated software testing. By studying the development of web development technology and comparing different development frameworks, this paper analyzes the advantages of web as agile web development. According to the characteristics of advertisement selection platform of a domestic Internet company, the requirement analysis and overall design are given, and the tasks and functions of the framework are pointed out. Based on Django, the automatic test module of advertisement selection platform is developed and completed. Configure the tool and manage the function module to realize the change from manual test to automatic test on the platform of advertisement selection. The framework and related functions have been strictly tested and all functions have met the design requirements, and the efficiency of calibration is improved effectively under the premise of ensuring the test quality. At present has provided online services in a company, and achieved very good results.
【学位授予单位】:大连理工大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP311.52
【参考文献】
相关期刊论文 前4条
1 单锦辉,姜瑛,孙萍;软件测试研究进展[J];北京大学学报(自然科学版);2005年01期
2 刘班;;基于Django快速开发Web应用[J];电脑知识与技术;2009年07期
3 张波,张福炎;基于JSP技术的Web应用程序的开发[J];计算机应用研究;2001年05期
4 徐浙君;俞淑燕;;基于ActionScript 3.0的游戏设计框架探索[J];计算机与现代化;2010年03期
相关博士学位论文 前1条
1 金虎;自动化软件测试技术研究[D];四川大学;2006年
相关硕士学位论文 前1条
1 刘源;基于Flex技术的协同数据会议系统的设计与实现[D];北京邮电大学;2009年
,本文编号:2087457
本文链接:https://www.wllwen.com/wenyilunwen/guanggaoshejilunwen/2087457.html