天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

面向Web Service的自動化測試系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)

發(fā)布時間:2018-06-27 17:13

  本文選題:Play框架 + Scala語言; 參考:《南京大學(xué)》2014年碩士論文


【摘要】:隨著軟件產(chǎn)品開發(fā)速度的不斷提高,測試人員的壓力也在相應(yīng)增加。為了提高測試的效率,越來越多的大型公司在開發(fā)自己的自動化測試系統(tǒng)。ebay的Stubhub子公司適應(yīng)軟件發(fā)展趨勢,同樣提出了開發(fā)面向Web Service的自動化測試系統(tǒng)的需求。而這種本公司開發(fā)的自動化測試系統(tǒng)既能適合本公司的產(chǎn)品和環(huán)境,又能為今后類似自動化測試系統(tǒng)的開發(fā)積累了技術(shù)和經(jīng)驗(yàn)。面向Web Service的自動化測試系統(tǒng)就是由測試框架和測試工具兩個部分組成。測試框架是通過maven依賴來提供API的自動化測試方案。而測試工具是一個Web工程,提供API的信息管理和請求功能。對于自動化測試框架,采用基礎(chǔ)的java技術(shù)即可實(shí)現(xiàn)。對于自動化測試工具,由于Play 2框架提供了web開發(fā)的所有基本功能,所以決定選擇Play 2框架來實(shí)現(xiàn)web開發(fā)。在此基礎(chǔ)上,使用具備函數(shù)式編程特性的Scala語言完成開發(fā)。數(shù)據(jù)庫是MongoDB,選擇的理由是它是NoSQL數(shù)據(jù)庫,適合存儲結(jié)構(gòu)不確定的數(shù)據(jù)存儲,且操作簡便。本文首先闡明了自動化測試系統(tǒng)的項(xiàng)目背景和意義。接著本文介紹了項(xiàng)目開發(fā)過程中使用的各項(xiàng)技術(shù),包括AngularJS、Scala、MongoDB、Play框架等技術(shù)。然后本文明確了項(xiàng)目的需求并根據(jù)需求完成項(xiàng)目的設(shè)計(jì),需求的內(nèi)容包括功能性需求、非功能需求以及用例分析,設(shè)計(jì)內(nèi)容包括MongdoDB數(shù)據(jù)庫設(shè)計(jì)和模塊的詳細(xì)設(shè)計(jì)等。之后,本文詳細(xì)介紹了系統(tǒng)各個模塊的具體實(shí)現(xiàn),以及Play 2框架的配置和實(shí)現(xiàn),同時還以舉例的形式詳細(xì)介紹了AKKA和WebSocket等技術(shù)的核心代碼。最后,總結(jié)了整個項(xiàng)目的不足和進(jìn)一步的展望。在后續(xù)的工作中,我們將美化部分的界面,并優(yōu)化系統(tǒng)的一些操作,使本系統(tǒng)的使用體驗(yàn)更為人性化。同時增加組合測試和界面測試等新的模塊,添加數(shù)據(jù)統(tǒng)計(jì)、郵件通知等新的功能,使產(chǎn)品功能更加豐富。而在代碼結(jié)構(gòu)這一方面,依然需要優(yōu)化,如降低類之間的耦合程度,優(yōu)化調(diào)用關(guān)系。
[Abstract]:With the rapid development of software products, the pressure of testers is also increasing. In order to improve the efficiency of testing, more and more large companies are developing their own automated testing system. EBay's Stubhub subsidiary company adapts to the trend of software development. The automatic test system developed by this company can not only adapt to the products and environment of our company, but also accumulate technology and experience for the development of similar automatic test system in the future. Web Service-oriented automated test system is composed of two parts: testing framework and testing tools. The test framework is an automated test scheme that provides APIs through maven dependencies. The testing tool is a Web project that provides API information management and request capabilities. For the automated testing framework, the basic java technology can be implemented. For automated testing tools, because the play 2 framework provides all the basic functions of web development, it is decided to choose the play 2 framework to implement web development. On this basis, the use of functional programming features of Scala language development. The database is MongoDB, the reason is that it is NoSQL database, suitable for storage structure of uncertain data storage, and easy to operate. In this paper, the project background and significance of automated test system are first expounded. Then this paper introduces the technologies used in the development of the project, including Angular JS Scala / MongoDB play framework and so on. Then this paper defines the requirements of the project and completes the project design according to the requirements. The requirements include functional requirements, non-functional requirements and use case analysis. The design content includes the MongdoDB database design and the detailed design of modules. After that, this paper introduces the implementation of each module of the system, the configuration and implementation of the play 2 framework, and introduces the core codes of AKKA and WebSocket in detail with an example. At last, the deficiency of the whole project and further prospect are summarized. In the following work, we will beautify the part of the interface, and optimize some of the system operation, so that the system experience more humanized. At the same time, new modules such as combination test and interface test are added, data statistics, email notification and other new functions are added to enrich the function of the product. However, in the aspect of code structure, we still need optimization, such as reducing the coupling between classes and optimizing the call relation.
【學(xué)位授予單位】:南京大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP311.53;TP393.09

【相似文獻(xiàn)】

相關(guān)期刊論文 前10條

1 ;自動化測試系統(tǒng)[J];電子質(zhì)量;2002年11期

2 何洪波;新一代通用自動化測試系統(tǒng)的開發(fā)與應(yīng)用[J];中國計(jì)量;2004年06期

3 李忠明,張威;短信自動化測試系統(tǒng)的開發(fā)與應(yīng)用[J];移動通信;2004年06期

4 王麗英;基于以太網(wǎng)技術(shù)的自動化測試系統(tǒng)[J];今日電子;2005年10期

5 李華;;綜合儀器和新一代自動化測試系統(tǒng)[J];國外電子測量技術(shù);2005年12期

6 張舜堯;;手機(jī)自動化測試系統(tǒng)設(shè)計(jì)淺析[J];電腦知識與技術(shù)(學(xué)術(shù)交流);2007年20期

7 ;構(gòu)建以軟件為中心的下一代自動化測試系統(tǒng)[J];電子技術(shù)應(yīng)用;2008年08期

8 徐,

本文編號:2074636


資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/guanlilunwen/ydhl/2074636.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶c9083***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com