基于Django的自動化測試框架設(shè)計(jì)與實(shí)現(xiàn)
發(fā)布時(shí)間:2018-07-01 10:17
本文選題:自動化測試框架 + 敏捷開發(fā); 參考:《大連理工大學(xué)》2012年碩士論文
【摘要】:作為計(jì)算機(jī)核心之一的軟件自誕生以來,就一直受到廣泛的關(guān)注,它促進(jìn)了計(jì)算機(jī)和互聯(lián)網(wǎng)行業(yè)的高速發(fā)展,與此同時(shí),軟件的質(zhì)量保證問題也越來越受到人們的關(guān)注,各種測試手段和測試方法不斷涌現(xiàn),人們在希望保證軟件質(zhì)量問題的同時(shí),對于提高測試效率的呼聲越來越高,因此,各種自動化測試技術(shù)應(yīng)運(yùn)而生,其中自動化測試框架和測試腳本尤為受到關(guān)注,它們的出現(xiàn)不但大大減輕了測試人員的工作量,同時(shí)也縮短了整個(gè)產(chǎn)品的研發(fā)過程,交付時(shí)間得以提前,無論對于企業(yè)還是對于客戶來說,都是大有裨益的。 ASP平臺作為國內(nèi)某互聯(lián)網(wǎng)公司的廣告選取平臺,一直承擔(dān)著對廣告選取和分發(fā)的作用,從而實(shí)現(xiàn)廣告效益的最大化。對于該平臺所有涉及到的測試基本都是靠手工測試來實(shí)現(xiàn),目前,ASP下游各模塊的測試基本都可以通過自動化方式來實(shí)現(xiàn)測試,所以,ASP平臺各功能模塊的測試一直是整個(gè)架構(gòu)系統(tǒng)中的一個(gè)瓶頸,因此,本文基于Django開發(fā)了一個(gè)自動化測試框架來解決此問題。 論文闡述了自動化軟件測試的發(fā)展?fàn)顩r,通過研究web開發(fā)技術(shù)的發(fā)展,比較不同的開發(fā)框架,分析了Django作為敏捷web開發(fā)的優(yōu)勢。針對國內(nèi)某互聯(lián)網(wǎng)公司廣告選取平臺的特點(diǎn),給出了需求分析和總體設(shè)計(jì),指出了該框架所承擔(dān)的任務(wù)和包含的功能,基于Django開發(fā)并完成了廣告選取平臺的自動測試模塊、配置工具及管理功能模塊,實(shí)現(xiàn)了廣告選取平臺手工測試到自動化測試的轉(zhuǎn)變。該框架及相關(guān)功能經(jīng)過嚴(yán)格的測試,各項(xiàng)功能均已達(dá)到設(shè)計(jì)要求,在保證測試質(zhì)量的前提下有效地提高了校驗(yàn)效率。 目前已在某公司網(wǎng)山提供線上服務(wù),并且取得了非常好的使用效果。
[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.
【學(xué)位授予單位】:大連理工大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2012
【分類號】:TP311.52
【參考文獻(xiàn)】
相關(guān)期刊論文 前4條
1 單錦輝,姜瑛,孫萍;軟件測試研究進(jìn)展[J];北京大學(xué)學(xué)報(bào)(自然科學(xué)版);2005年01期
2 劉班;;基于Django快速開發(fā)Web應(yīng)用[J];電腦知識與技術(shù);2009年07期
3 張波,張福炎;基于JSP技術(shù)的Web應(yīng)用程序的開發(fā)[J];計(jì)算機(jī)應(yīng)用研究;2001年05期
4 徐浙君;俞淑燕;;基于ActionScript 3.0的游戲設(shè)計(jì)框架探索[J];計(jì)算機(jī)與現(xiàn)代化;2010年03期
相關(guān)博士學(xué)位論文 前1條
1 金虎;自動化軟件測試技術(shù)研究[D];四川大學(xué);2006年
相關(guān)碩士學(xué)位論文 前1條
1 劉源;基于Flex技術(shù)的協(xié)同數(shù)據(jù)會議系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)[D];北京郵電大學(xué);2009年
,本文編號:2087457
本文鏈接:http://www.sikaile.net/wenyilunwen/guanggaoshejilunwen/2087457.html
最近更新
教材專著