您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 资本运营 > 测试策略3999790493
1Thedevelopmentofateststrategyisamulti-stepprocessofanalysis:1.Analyzerequirements.2.Assessrisk.3.Definescopeoftesting.4.Determinetestapproach.5.Determineentryandexitcriteria.一个测试策略的设计是一个多步骤的分析过程:1.分析需求。2.评估风险。3.定义测试范围。4.确定测试方法。5.确定进入和退出条件。Oncetherequirementsandrisksofaprojectarewell-understood,thenextstepintestplanningistodeterminetheteststrategy.Theteststrategyanswersthefollowingquestions:Whyarewetesting?Whatdoweplantodo?Whatdoweplannottodo?只要项目的需求和风险被准确理解,测试计划的下一步就是确定测试策略。测试策略解决下列问题:为什么我们要测试?我们要做些什么?我们计划不做些什么?Yourteststrategymustincludeacleardefinitionofthescopeofyourtesting.Yourscopemaybedeterminedinpartbyyourteam'sresponsibility.Alargedevelopmentprojectmayhavemultipletestteamsworkingonit,eachofwhichisresponsibleforadifferentaspectoftheproject.Evenasmallprojecthasdifferentlevelsoftest,asdescribedinthemoduleTestLevelsandActivities.Yourscopeincludesthelevelsoftestthatyoucover.你的测试策略必须包括你对测试范围的一个明确定义。你的范围可能部分取决于你团队的责任。在大型发展项目里,可能有多个测试团队同时工作,每一个2小组负责项目的不同方面。像在测试阶段和活动中描述的一样,即使是很小的项目,也有不同程度的测试。你的范围包括你负责的范围内的测试阶段。Thescopeofyourtestingisalsoaffectedbythescopeandnatureoftheprojectitself.Forexample,thescopeoftestingmaybesmallerforasmallservicereleasetoanexistingproductthanforanewproduct.你的测试范围也会因为项目本身的范围和性质而受到影响。例如,对于一个新产品来说,一个准许生产的产品中的一个小服务的测试范围更小。Todeterminethetestapproach,askquestionsliketheseforeachoftheprojectfeaturesandattributes:Whattestingisplannedforthisfeatureorattribute?Whatcustomerproblemdoesthisfeaturesolve?Whatannouncementclaimswillwebemakingaboutthisfeature?Whatautomationwillweusedtodevelopthetestsforthisfeature?要确定测试方法,为检测项目的功能和属性,必须提出下列问题,:1、为测试功能或属性,要进行怎么样的测试?2此功能解决客户的哪些问题?3针对这个特点,我们要做出怎样的报告?4我们将用什么自动化工具或技术来进行这项功能的测试?Todeterminewhentostartandendtesting,identifyentryandexitcriteriabyansweringthefollowingquestions:为了决定何时开始和结束测试,根据下列问题的答案,确定进入和退出条件:Duringthedevelopmentprocess,canthetestswe'vedefinedbeexecutedinaneffectiveand3efficientmanner?Astheproductcontinuestoprogress,whenarewearefinished?1在开发过程中,我们定义的测试能否以有效和高效的方式执行?2随着产品的不断发展,我们什么时候能够完成?Inorderforentryandexitcriteriatobeeffective,theymusthavethreecommonattributes.Entryandexitcriteriamustbemeaningful.Entryandexitcriteriamustbemeasurable.Entryandexitcriteriamustbeachievable.为了进入和退出条件能够生效,就必须有3个共同属性。进入和退出标准,必须是有意义的。进入和退出标准,必须是可衡量的。进入和退出标准,必须是可实现的。课程目标Aftercompletingthislesson,youwillbeableto:DefinethescopeoftestingDetermineyourtestapproachDeterminewhentostarttestingandwhenthetestingiscomplete学完这一课后,你将能够:定义测试范围确定你的测试方法确定何时开始测试以及何时完成测试Throughoutthiscourse,youwillhaveanopportunitytogainhands-onpracticewithvarioussoftwaretestactivities.Wewillusethefollowingfictionalscenariotoprovidecontextforourexamplesandexercises.4在整个过程中,你将有机会获得各种软件测试活动的实际操作。我们将使用下面的虚构场景,为我们的例子和练习提供场景。ProjectbackgroundTheArizonaWeatherWatchergroupisavolunteerorganizationofprofessionalandamateurweatherwatchersacrossArizona.Theyholdbiannualmeetingstoshareideasandobservations.项目背景亚利桑那州的气候观察组是由亚利桑那州的专业和业余的气候观察家志愿者组成的。他们一年举行两次会议,来交流想法和意见。TheArizonaWeatherDataProjectAtthelastmeeting,itwasdeterminedthatthegroupwouldattemptalong-standinggoal.Sincethegroup'sinception,therehasbeenastrongdesiretoamassacontinuouslyupdateddatabaseofweatherdataforallofArizona.TheWeatherWatchershavedecidedthat,withtheInternetprovidingeasyaccess,thetimeisrighttoattemptthisproject.亚利桑那州的气象资料项目上一次会议确定了该小组将尝试一个长期目标。从小组成立以来,积聚所有亚利桑那州的天气数据成为一个不断更新的数据库的强烈愿望及一直存在。天气观察家决定,既然互联网提供了方便,那么是时候尝试这个项目了。ThewebtooltheywanttocreatewillenablegroupmembersacrossArizonatosubmittheirlocalweatherobservationstoacentraldatabase.ThisprojectiscalledtheArizonaWeatherDataProject.Manyoftheexamplesandexercisesinthiscourserefertothisbackgroundmaterial.他们想创建的网络工具,可以使整个亚利桑那州小组的成员能够提交当地天气观测的数据到一个中央数据库。这个项目就被称为亚利桑那州气象数据项目。5许多这个课程中的例子和练习是指此背景。Throughoutthismodule,youwillbedocumentingyourTestPlanfortheArizonaWeatherDataProjectusingtheRationalUnifiedProcess(IRUP)MasterTestPlanMicrosoftWordtemplateavailableonthedownloadpage.在这个模块的整个过程中,你将利用在下载页面下现成的Rational统一过程(IRUP)MasterTestPlanMicrosoftWord模板,记录亚利桑那州气象数据项目的测试计划。TheArizonaWeatherDataProject(AWDP)consistsofaweb-basedtoolthatallowsvolunteersacrossArizonatosubmitlocalweatherobservations.亚利桑那州的天气数据项目(AWDP)里有一个基于网络的工具,使得分布在亚利桑那州的志愿者可以提交当地的气象观察资料。AsyoulearnedinPrinciplesofTestManagement,youcansubdivideatestplantobettermanagevaryinglevelsofdetailandchange.SincetheArizonaWeatherDataProjectteamisrelativelysmall,youneedtocreateonlyonetestplan.正如你在测试管理原则中学到的,你可以细分测试计划,来更好地处理细节和程度的层次多样性。由于亚利桑那州气象数据项目团队比较小,你只需要创建一个测试计划。SectionsofthismodulereferyoutothesectionnumbersandsectiontitlesfromtheIRUPMasterTestPlantemplate.这个模块的部分,指的是IRUP主测试计划模板里的章节数和标题。6DevelopingaTestStrategy制定一个测试策略Oncetherequirementsandrisksofaprojectarewellunderstood,thenextstepintestplanningistodeteminetheteststrategy.Theteststrategyanswersthefollowingquestionsatalevelthatisusefultoprojectmanagers,management,andmembersofyourtestteams:当需求和项目的风险被充分理解后,测试计划的下一步是确定测试策略。在对于项目经理,管理人员和你的团队人员是有用的水准上,测试策略回答了一下问题:Whyarewetesting?Whatdoweplantodoandwhatdoweplannottodo?Howwillwedoourtesting?Thedevelopmentofateststrategyisamulti-stepprocessofanalysis:我们为
本文标题:测试策略3999790493
链接地址:https://www.777doc.com/doc-829068 .html