资源描述:
《大型电子商务平台--Webshop的测试-毕业论文.doc》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、大型电子商务平台--Webshop的测试摘要软件测试是一种发现软件缺陷的活动。1979年,GlenFordMyers的《软件测试艺术》是软件测试领域的第一本最重要的专著,其中对软件测试的定义为:“测试是为发现错误而执行的一个程序或者系统的过程。”软件测试业的兴起,正如软件业的兴起一样,也有其逐步完善的过程。从最初的只局限于程序员自己对软件功能实现的测试发展至现在的产业化,立体化。本文应用软件工程学原理,将测试流程也看成一软件工程,对Webshop这个网上商店进行测试,以期系统地实践软件测试技术,巩固测
2、试的基本知识,取得实战经验,发现、解决问题并进行总结。本文阐述了软件测试业的概况,软件测试运作中工具的简介,还有对Webshop进行测试的意义。这样理顺做测试的前提,以便更加投入地测试。本文接着开始描述测试的流程,测试过程中的各个步骤,如分析需求,编写测试计划测试用例等等。文章中详细描述各个测试用例的编写,并做详细说明,给出附图。本文还详尽地说明了常用自动化测试工具Winrunner的使用。这个工具在测试中很有用,同时自动化也是软件测试发展的方向。同时对Watin这一自动化编码框架的使用也作了详尽的实
3、践分析。关键词:软件测试;自动化;测试用例;测试计划;测试流程;自动化工具-46-TestingtheLargeE-commercePlatform--WebshopAbstractSoftwaretestingisakindofactivitieswhichfindsdefectsinsoftware.ThewrittenbyGglenFordMyersin1979isthefirstmostimportantbookinsoftwaretestin
4、gfield.Itdefinesthesoftwaretestinglike:“Testingistheprocessofexecutingaprogramwiththeintentoffindingerrors.”Astherisingofsoftware,thesoftwaretestinghasitsowncompletingprocedure.Itdevelopsfromthetestingfunctionactivitiesdonebyprogrammerstotheindustrializ
5、ationandsolidnow.Inthispaper,softwareengineeringprinciplesareused,thetestingprocessistakenassoftwareengineering.TestingthisonlinestoreWebshopwiththeaimofpracticingsoftwaretestingtechnology,consolidatingthebasicknowledgeoftestingandachievingexperience,di
6、scovering,solvingtheproblemandconcluding.Inthispaper,Itakeanoverviewofsoftwaretestingindustry,thebriefingofsoftwaretestingtools,andthemeaningtotesttheWebshopprograme.InthiswayIstraightenoutthepremiseoftesting,inordertodothetestmoreefficiently.Andthen,Id
7、escribethetestingprocess,thevariousstepsintheprocess.Likerequirementanalysis,writingtestingplans,testingcasesandsoon.Thisarticledescribesthewritingofallthetestingcasesindetail,andprovidesattachedpictures.Italsodescribesafewcommon-useautomatedtestingtool
8、s,likeWinrunnerforfunctiontestingandLoadrunnerforperformancetesting,testingmanagementtoolssuchasTestDirector.Thesetoolsareusedintesting,automatedtestingisalsothedirectionoftestingdevelopment.KeyWords:software-testing;automated-te