ISO IEC IEEE 29119-2-2021.docx
ISO/INTERNATIONA1.IFf/呼ESTANDARD29119-2editionSecond2021-10Softwareandsystemsengineering一Softwaretesting一幅r°cessesIngenierieduIogicie1.etdessystemesEssaisduIogicie1.Partie2:ProcessusdesessaisISOIECs<ozI三IEEEReferencenumberISO/IEC/IEEE29119-2:2021(E)bIEC2021COPYRIGHTPROTECTEDDOCUMENT©IEEE2021respctiveinternetorbe1.owintranet.memberpriorwrittenperm1.ssion.thePermissioncanberequestedfromeitherISODrIEEEattheNY10016-5997,NewYorkCH1214Vernier1.BhndonnetBWebsite:copynghtiso.orgWebsite:stds.ipr1.eee.orgA©ISO/IEC2021A1.1.rightsreserved.Un1.essOthenv1.sespecified,orrequiredinthecontextofitsimp1.ementation,nopartofthispub1.icationmaybereproducedoruti1.i2edOt1.ierwiseinanyformorbyanymeae1.ectronicormechanica1.Indudingphotocopying,orpostingontheaddressanOr1.S(TSWkhoUtbodythecountryofrequester.ISOcop)nghtofficeCP401Ch.deGenevaPhone:*41227490111Fax:*41227490947InstituteOfE1.ectricaIandE1.ectronicsEngineersJnc3ParkAvenue.USAEmai1.:WWW.Is。.OrgPub1.ishedinSw1.tzerhndEmai1.:WwWJeeeQrgContentsForewordV6.2.2Overview137.2.2Overview.18737.2.5InformationCont【,”.一237.3.3Outcomes257.4.2Overview.278.2.2Overview328.38.2.5environmentitems35PageIntroductionviScope1Normativereferences1TermsanddefinitionsConformance84.1 Intendedusage84.1.1 Genera1.8Mu1.ti-1.ayertestprocessmode1.10Organizationa1.testprocess126Gccro1.-126.2Organizationa1.testprocess136.2.1 Purpose623Outcomes146.2.4 /Xctivitiesandtasks14625Into1111stonitems.15Testmanagementprocesses167»1Generai167.2Teststrategyandp1.anningprocess177.2.1 Purpose7.2.3 Outcomes187.2.4 ACtIy1.t1.eSand(ISkS.9Testmonitoringanditemsprocess731OVerVICW237.3.2 Purpose247.3.4 Activitiesandtasks7.3.5 1.normationitems267.4Testcomp1.etionprocess277.4.1 Purpose7.4.3 Outcomes277.4.4 Activitiesandtasks28Dynamictestprocesses298. 1Generia1.298.2Testdesignandimp1.ementationprocess318.2.1 Purpose8.2.3 Outcomes328.2.4 Activitiesandtasks32TestInformationanddatamanagementprocess831OYer'1.ew358.3.2 Purpose.368.3.3 toomcs.一.一.368.3.5Informationitems388.4.3Outcomes398.58.5.1Overview.408.5.5Informationitems.-”42Annex(informative)47AnnexD(informative)ISO/IEC/IEEE29119-2andBS7925-2:1998processa1.ignment5254Bib1.iography©IS。/IEC2021-A1.1.rightsreserved8.3.4AaiVitieSandtasks8.4Testexecutionprocess.388.4.1 .388.4.2 Purpose8.4.4 Activitiesandtasks398.4.5 Informationitems40Testincidentreportingprocess8.5.2 Purpose418-5.3Outcomes418.5.4 ActivitiesandtasksAnnexA(informative)Examp1.eapp1.icationofthetestdesignandimp1.ementationprocess43Ba1.ignmentISO/IEC/IEEE29119-2andISO/IEC/IEEE12207:2017processAnneXC(informative)ISO/IEC/IEEE29119-2andISO1EC17025:2017processa1.ignment51AnnexE(infnnativc)Testmode1.s53IEEENoticesandAbstract55ForewordCommission)formIECspecia1.izedsystemdeve1.opmentofStandardization.Standardsthroughtechnica1.organizations,governmenta1.andnon-governmenta1.,in1.iaisonwithISOandIECra1.sotakepartinthedescribcddifferentISO1.ECofDircctives,dcumentsparticu1.ar,noted.differentdocumentCnteriadraftedinCommitteesofdocumcntsStandardsAssociation(IEEE-SA)StandardsandBoard-StandardsCoordinatingWhi1.eproduct.administersnotnecessari1.yestab1.ishestheInstitutepromoteservefairnessincompensation.AttentiondrawnISOandpossibi1.itythatsomeOfresponsib1.eforofidentifyinganymaya1.1.suchsubject1.istofpatentdec1.arationsreceived(seehttps:/patents.iec.ch).expressionsexp1.anationtoconformityassessment,standards,informationaboutSpecificadherenceandISO/IEC/IEEESubcommitteewaspreparedandsystemsenf1.nee11n.CommitteecooperationwiththeInformationtechnica1.1.yrevised.cance1.sandrep1.acesthefirstedition(ISOIEC1EEE29119-2:2013),whichhasbeenedition.defnitionprocessWaSdesignandimp1.ementationconditions.Feec1.backbeenupdated.the1.nstandardprovidesmoredetai1.onthischange.b(x1.y.feedbackcomp1.etequestionsonIhescdocunicntshou1.dbedirectedw½MM>FgmembeF4UHstandardsThegoa1.ofeach1.ayerisasfo1.1.ows:1) organizationa1.testpo1.icies,creationpractices,maintenanceOrganizationa1.otherspecifications.such2) Definingprocessesthatcovertypeperformancetesting)withinaproject(e.g.project1.eve1.3) Thetestmanagementprocessesare:ii) testHionitoringandcontro1.process(7.3);c)Dynamictestprocesses(C1.ause8)type(e.g.performancetesting,securitytesting,andfunctiona1.testing)withinaproject.1) testdesignandimp1.ementationprocess(8.2);iii) testexecutionprocess(8.4);andNOTEInIEEE1012,thedynamictestprocessisreferredtoas*'theTestProcess*.O/IEC202IA1.Irfghtsrhtsreserveda) Organizationa1.testprocess(C1.ause6)asDefiningprocessfortheandprocesses,Ofproceduresandtestassets.b) Testmanagementprocesses(C1.ause7)(e.g.systemtesting)ortestthe(e.g.managementforawho1.eoranytesttestmanagement,systemtestmanagement,performancetestmanagement).1) teststrategyandp1.anningprocess(7.2);11iii) testcomp1.etionprocess(7.4).1) Defininggenericprocessesforperformingdynamictesting.Dynamictestingmaybeperformedataparticu1.artest1.eve1.(e.g.unit,integration,system,andacceptance)orforaparticu1.artest2) Thedynamictestprocessesare:11) testenvironmentanddatamanagementprocess(8.3);iv) testincidentreportingprocess(8.5).Tprisevaryingnumbersoftestprocess,asshowninFigure2. organizationa1.testpo1.icy;projectsistestimprovethedocument(andtesttes1.po1.icy)andwhichthemaintainsofTheorganizationa1.testprocesscomprisesactivitiesforthecreation,reviewandmaintenanceof(seeFigure4).Typica1.inputstothisprocessinc1.ude: know1.edgeofthecurrenttestpracticeswithintheorganization;一ITpo1.icy; qua1.itypo1.icy; organizationa1.testpractices; feedbackontestpo1.icy; feedbackontestpractices; typica1.testp1.ansfromtheorganization;andnustryand/orgovernmentstandards.Figure4Organizationa1.testprocess6.2.2PurposeThepurposeoftheorganizationa1.testprocessistodeve1.op,monitorconformanceandmaintainPrBatiixmionaIdoeurtient.specifications,suchastheorganizationa1.testpo1.icyandorganizationa1.test6.2.3OutcomesASaresu1.tofthesuccessfu1.imp1.ementationoftheorganizationa1.testprocess;a) Therequirementsfororganizationa1.testspecificationsareidentified.b) Theorganizationa1.testspecificationsaredeve1.oped.c) Theorganizationa1.testspecificationsareagreedtobystakeho1.ders.d) Theorganizationa1.testspecificationsaremadeaccessib1.e.e) Conformancetotheorganizationa1.testspecificationsismonitored.f) Updatestoorganizationa1.testspecificationsareagreedtobystakeho1.ders.32.*Pd淞testspecificationsaremade.6.2.4.1Genera1.Thepersonresponsib1.efororganizationa1.testspecificationswi1.1.imp1.ementtheactivitiesandtasksKpcpifit4kfte(n2gizaIbAA4<tacpoodaRCewithapp1.icab1.eorganizationpo1.iciesandprocedureswith7Testmanagementprocesses7.1 Genera1.a)teststrategyandp1.anning;c)testcomp1.etion.andformanagingvarioustesttypes(e.g.performancetestmanagement,usabi1.itytestmanagement).managementseparate1.y;typeswi1.1.IyPicaUyreqUirCbaSedtCStmanagementprocessesastheapp1.icdtotcstn1.etad5i1.1.ustratesorganizationa1.testbetweenotherapp1.icationsmanagcmcntmanagementprocessestheyFigure5Examp1.etestmanagementprocessre1.ationships-A1.1.rightsreservedTherearethreetestmanagementprocesses:b)testmonitoringandcontro1.;andSThesegenerictestmanagementprocessesmaybeapp1.iedattheproject1.eve1.(projecttestmanagement),fortestmanagementatdifferenttest1.eve1.s(e.g.systemtestmanagement,acceptancetestmanagement)oWhenapp1.iedattheprojecttestmanagement1.eve1.,thesetestmanagementprocessesareusedtomanagethetestingforthewho1.eproject,basedonaprojecttestp1.an.Formanyprojects,eachoftheindividua1.test1.eve1.sandthesea1.so/betheonseparatetestp1.ans.SUehtObesystemitsp1.an,re1.iabi1.itytestp1.anandacceptancetestp1.an.Figurewiththethere1.ationshipsprocess,threetestofthetestprocesses,andhow(e.g.ifina1.argeprojectahigh-1.eve1.testmanagementprocessisapp1.iedon1.ower1.eve1.testmanagementTcs1.thcOrganizationa1.processespo1.icyandorganizationa1.Outputspracticesorganizationa1.1.estprocess,practica1.7.2Teststrategyandp1.anningprocess7.2.1 Overviewrcsu1.tsrequiredresourcestestStra1.egyDependingp1.anningmaythcrecordedinproccssisimp1.crncntcd.testTypica1.inputstothisprocessinc1.ude: organizationa1.testpractices; projecttestp1.an(ifp1.anningtestingforaspecificphaseortypewithinaproject); projectmanagementp1.an; SoftWaredeve1.opmentp1.an; testp1.anupdates.e1.aboratcdactivitiesShownconip1.ctctestp1.anrecordcd.revisited1.heiterativecomp1.etetestprocess,anumberISO1ECIEEE29119thisdocumentrecommendsCmbeddingthis.testdcsigningwthin1.estStrategjra1.thoughmanagemcnt1.SO/IEC/1.EEEa1.igncdprovidcs31000.detai1.edsetofriskmanagementactivitiesandtasks.Thisriskedidon,a1.igntermrisktermino1.ogyhas1.SO/IEC/IEEEinc1.uderiskmitigationandothermeansofaddressingrisks.(0ISO/IEC202IA1.IrightsrightsresenedasmanagementtestneedtowiththetestofthedocumentBasedonthesuchimp1.ementationoftheseoutputs,thetestmanagementprocessesmayproducefeedbackontheorganizationa1.testprocess.Theteststrategyandp1.anningprocessisusedtospecifythepurpose,scope,risks,typica1.testactivities,andofdesigningthefortesting,andtestonwhereinbeprojectthisaprojecttestp1.anorathep1.anforaspecific1.eve1.,suchasasystemtestp1.an,oratestp1.anforaspecifictypeoftesting,suchasaperformancetestp1.an. organizationa1.testpo1.icy; regu1.atorystandards; incidentreports; app1.icab1.eproductdocumentation(e.g.systemrequirements,testitemspecification); projectandprf1.uctrisks;andTocreateatestp1.an,theactivitiesshowninFigure6sha1.1.beperformed.Ascontentforthetestp1.anbecomesavai1.ab1.ethroughperformingthedefinedactivities,adrafttestp1.anwi1.1.gradua1.1.ybeoftheunti1.theinFigure6mayisnecdtobeDuetobeforethenatureofthep1.ancanmadeavai1.ab1.e.Mosttypica1.1.ytheactivitiesTP3,TP4,TPSandTP6wi1.1.needtobeperformediterative1.yinordertoachieveanacceptab1.etestp1.an.conformancewith(a1.1.parts)notrequiretheBystrategythethep1.anrandthenconsideringtestp1.anninge1.ements,suchasavai1.ab1.eresources,ita1.1.owstheoptima1.testStratCgytObeba1.ancedagainsttheavai1.ab1.ebudget,schedu1.eandresourcesfortesting.ThetestStrategjrisbasedontheperceivedrisks,whichareexp1.icit1.ymanagedthroughtheactivitiesTP4andTP5.NOTE1processis1608SwithISOamoreNOTE2ThePreVioUSeditionofthisdocumentusedthetermriskmitigationforaddressingrisks.Inthisandthewiththetreatmentinbeenusedto16085andISO31000.NOTETheprocessactivitiesbeingrevisited,shownaspure1.ysequentia1.,butinpracticeitcanbecarriedoutiterative1.y,withsomeFigure6-Teststrategyandp1.anningprocessDuringthecourseoftesting,thetestp1.anmayneedtobemodifiedinresponsetotheresu1.tsofttnpiF8mg饰蝮巾省CdtMKSinfOrtn谦MwGhehtmiRdtwai1.3Wev-1.i«p«hdingmahithutbcp1.nd.natureofForexamp1.e,if,afterthetestp1.anisinitia1.1.ymadeavai1.ab1.e,itisrea1.isedthatnewrisksthreateneither映照僦i<te渤槐吼1.ea1.%duct,i?M郦曲牌描锹眼鹏网riskshaschanged,thentheA1.ternative1.y,ifitisbe1.ievedtohenecessarytochangetheteststrategyforreasonsotherthanriskOr,ifitisbe1.ievedtobenecessarytochangeeitherthestaffingorschedu1.ingofthetestingforreasons煦帕速%Jh盅阱葩theth2强Ti棋IR秋燎处hedu1.i8Sg时相fient(TP6).changed)thentheprocess7.2.2 PurposeThepurposeoftheteststrategyandp1.anningprocessistodeve1.op,agree,recordandcommunicatetoOfna1.WanrJrt3kehofahmfctiusc(3pwhwbi0pJiMhthntafate9i(叫totesting,enab1.ingear1.yidentification7.2.3 OutcomesAsaresu1.tofthesuccessfu1.imp1.ementationofthetestp1.anningprocess:a)Thescopeofthetestingisana1.ysedandunderstood.b) TheidcrfettificdMHdcrsinfkiiiQcd.Wi1.1.participateindesigningtheteststrategyandthetestp1.anningarec) Risksthatcanbetreatedbytestingareidentified,ana1.ysedandc1.assifiedwithanagreed1.eve1.ofriskexposure.d) Teststrategy,testenvironment,testtoo)andtestdataneedsareidentified.EXAMP1.E1Too1.s,specia1.equipment,testenvironment,officespace.e) Staffingandtrainingneedsareidentified.0Eachactivityisschedu1.ed.g) Estimatesareca1.cu1.atedandevidencetojustifytheestimatesisrecorded.EXAMP1.E2Cost,staff,andtime1.ineestimates.h) Thetestp1.anisagreedtoanddistributedtoa1.1.stakeho1.ders.7.2.4Activitiesandtasks7.2.4.1 Genera1.Thepersonsresponsib1.efordesigningthetestStrategyandtestp1.anningwi1.1.imp1.ementtheactivities即dmdiuzsMcifiedm卬做7OvPNtfegEateg)I;MWi1.“即IhnCePrOCeSS.app1.icab1.eorganizationpo1.iciesand7.2.4.2 Understandcontext(TP1.)Thisactivityconsistsofthefo1.1.owingtasks:NOTE1Thescopeofthesoftwaretestinginc1.udestheidentificationoftestitems.NOTE2Thefo1.1.owingdocumentationcanbeused:testPracticesiorgan1.zaiiona1.testspecifications,suchastheorganizationa1.testpo1.icyandtheorganizationa1. projectmanagementp1.an,forinformationthatwi1.1.affectthetesting,suchasthea1.1.ocatedtestingbudgetandresources;higher1.eve1.testp1.ans(c.g.projecttestp1.anifmanaginga1.ower1.eve1.oftesting,suchassystemtesting)forrequirementsandconstraintsonthis1.eve1.oftesting,suchastestingestimates,sta1.1.ingandexpectedde1.iverab1.esandtheirtiming; app1.icab1.eregu1.atorstandardsforinformationonregu1.ationsthatmayimpactthetesting:describedapjN<三?邺刚砒吊6丽1.理出fi螃勒鼠般蝌加尚妞械¾Hgft蜘腿SiW的洞!则bjectivespossib1.etestingrequirementsforthis1.eve1.ortypeftesting; qua1.itycharacteristicsaredefinedinJSO/IEC25010: softwaredeve1.opmentp1.an,forinformationthatmayimpactontestingtime1.inesorcyc1.essuchasexpecteddeve1.opmentde1.iverab1.esandtheirtiming;projectriskregisterforinformationonidentifiedprojectandproductrisks; VerifiCa1.k)nandVaIk1.adOnp1.an.b)Understandingintcractingcontext1.hcre1.evantstakeho1.ders,requirementsshou1.dbeobtainedbyNOTEactiv1.tycan,activity,Understandairrtedcontext,wi1.1.beon-goingthroughoutthe1.ifetimeoftheproject.Thetasksin7.2.4.3 Organizetestp1.andeve1.opment(TP2)a) activitiesthattestingrequirementsidentifiedintestunderstandtestp1.anning,activityidentifiedb) Thestakeho1.dersrequiredtoparticipateintheseactivitiesshou1.dbeidentified.EXAMPLE 1 Theprojectmanagerand/orprojecttestmanager.EXAMPLE 2 Requestprojectmanagertoschedu1.eameetingforreviewoftheteststrategy.7.2.4.4Identifyandana1.yserisks(TP3)EXAMPLE 1 Riskshe1.dintheprojectriskregister.throughworkshops,interviewsbyrcvicwingsuitab1.cspecificationsandOthcrappropriatcdocumentation,discriminatesbetweenprojectandproductrisks.e)Approva1.sha1.1.beobtainedfortheresu1.tsofthisriskassessmentfromthestakeho1.ders.EXAMPLE 2 Inthetestp1.an,intheprojectriskregister.©IS。/IEC2021-A1.1.rightsreservedAnidentifyingofthewithandthesoftwaretestingc) Thetestbasissha1.1.beidentifiedandrecorded.d) Communicationp1.anningshou1.dbeinitiated,and1.inesofcommunicationrecorded.this3Theinprincip