A RiskBased Test Strategy.docx

上传人:b****8 文档编号:23812104 上传时间:2023-05-21 格式:DOCX 页数:18 大小:128.79KB
下载 相关 举报
A RiskBased Test Strategy.docx_第1页
第1页 / 共18页
A RiskBased Test Strategy.docx_第2页
第2页 / 共18页
A RiskBased Test Strategy.docx_第3页
第3页 / 共18页
A RiskBased Test Strategy.docx_第4页
第4页 / 共18页
A RiskBased Test Strategy.docx_第5页
第5页 / 共18页
点击查看更多>>
下载资源
资源描述

A RiskBased Test Strategy.docx

《A RiskBased Test Strategy.docx》由会员分享,可在线阅读,更多相关《A RiskBased Test Strategy.docx(18页珍藏版)》请在冰豆网上搜索。

A RiskBased Test Strategy.docx

ARiskBasedTestStrategy

ARisk-BasedTestStrategy

Dr.IngridB.Ottevanger

IQUIPInformaticaB.V.

POBox263,1110AGDiemen,TheNetherlands

Tel:

+31206606600

Fax:

+31206953298

E-mail:

i.b.ottevanger@iquip.nl

 

1.Introduction

Thedevelopmentofateststrategyisameansofcommunicationwiththecustomercommissioningthetestonsuchmattersastheorganizationoftestingandthestrategicchoicesthatgowithit.Theteststrategyindicateshowtestingistobecarriedout.Inordertomakethebestpossibleuseofresourcesandtime,itisdecidedonwhichpartsandaspectsofthesystemtheemphasisshouldfall.Theteststrategyformsanimportantbasisforastructuredapproachtotestingandmakesamajorcontributiontoamanageabletestprocess.

Thecustomerwhocommissionsthetestwillexpectspecificqualitiesofthesystemwheninproduction,andwantstoknowwhetherthereleasedsystemwillmeettheserequirements.Ifthesystemqualitativelydoesnotmeettherequirementsoronlytoalimitedextent,thisimplieshighdamagefortheorganization,forinstancesincehighreworkcostswillbeneededorclients/userswillbeunsatisfied.Therefore,thissituationformsariskfortheorganization.'Risk'inthispaperisdefinedas:

Ariskisthechanceofanerroroccurring(chanceoffailure)relatedtothedamageexpectedwhenthiserrordoesoccur

Testingcoverssuchrisksbygivinginsightintotheextenttowhichthesystemmeetsthequalitydemands.Whenqualityturnsouttobeinsufficienttimelymeasurescanbetaken,e.g.reworkbydevelopers.Iftheshippingofthesystemimpliesmanyrisksfortheorganization,bettertestingisobviousasasolution.Andthereversealsoholds:

Norisk,notest

Althoughintheabovewerefertoqualityandrisksinageneralsense,theremaybelargedifferencesdependingonthesituation.Itisofgreatimportancetodiscussthiswiththecustomer,andtotranslatethecustomer'swishesinthisrespectintothewaytestingwillbeperformed.Thus,theteststrategyisdirectedtowardsfindingtheoptimalbalancebetweenthetestefforttobeexertedandthecoveragerequiredfortherisks.Tothispurposetherisksarespecifieduptothelevelofqualitycharacteristicsandseparatesubsystem.Indoingsoitbecomespossibletofindasuitabletestcoveragefortheassessedrisks.Hereahighertestcoverageusuallyresultsinmoretesteffort.Inordertoreachatthevariationintestcoverageneeded,theuseofmorethanonetestspecificationtechnique(testdesigntechnique),eachofferingaspecifiedtestcoverage,iscrucial.

Ananalogywithinsurancesmayclarifythismatterabitmore.Apersonwantstocoverarelevantriskandtakesaninsurancewithacoveragefittingthisriskasbestaspossible.Thisinsurancetakesacertainpremium.Ifthepersonwantstopayless,aninsurancewithalowercoverageisbought.Theconsequenceisthattherewillbenopaymentiftheuncoveredriskoccurs.Ontheotherhand,ifcoverageweretolarge,thentoomuchpremiumispaid,sinceasituationhasbeeninsuredwhichisunlikelytooccurforthisperson.

Thebalancebetweenbudgetandriskcoverage

2.RiskAssessment

Teststrategyisbasedonriskassessment.Thismeansassessingthedamageoftheconsequencesofdefects,bothundetectedpriortooperationandoccurringduringoperation.

Riskassessmenttakesplaceonthebasisofqualitycharacteristicsandsubsystems.Forinstance,ifthesystemisinsufficientlyuser-friendly,whatwillbethenegativeconsequences.Andwhatwillbethedamagewhenthesalarycalculationmoduleinapayrollsystemdoesnotworkcorrectly.

Inordertobeabletoperformthisassessmentwell,theseparateaspectsofariskareconsidered:

Risk=chanceoffailurexdamage,

wherechanceoffailureisrelatedtoaspectsincludingfrequencyofuseandthechanceofanerroroccurring.

Theseaspectsarelistedbelow:

∙Frequencyofuse

Inafunctionwhichisuseddozensoftimeseachdaythechanceofanerrordemonstratingitselfismuchbiggerthanwithafunctionusedonceayear.

∙Chanceoferror

Fortheassessmentofthechanceoferrorsthefollowinglistcanbehelpful.Itpresentsthelocationswhereerrorstendtocluster.ItispartlybasedonH.Schaefer,1996(Survivingundertimeandbudgetpressure,in:

ConferenceProceedingEuroSTAR1996,Amsterdam,theNetherlands):

◊Complexfunctions;

◊Completelynewfunctions;

◊(Especiallyfrequently)adjustedfunctions;

◊Functionsforwhichcertaintoolsortechniqueswereemployedforthefirsttime;

◊Functionswhichweretransferredfromonedevelopertoanotherduringdevelopment;

◊Functionsthatwererealizedunderextremetimepressure;

◊Functionswhichhadtobeoptimizedmorefrequentlythanonaverage;

◊Functionsinwhichmanydefectswerefoundearlier(e.g.inpreviousreleasesorduringearlierreviews);

◊Functionswithmanyinterfaces;

◊Inexperienceddevelopers;

◊Insufficientinvolvementofusers;

◊Insufficientqualityassuranceduringdevelopment;

◊Insufficientqualityoflow-leveltests;

◊Newdevelopmenttoolsanddevelopmentenvironment;

◊Largedevelopmentteams;

◊Developmentteamswithsub-optimalcommunication(e.g.owingtogeographicalspreadorpersonalcauses);

∙Damage

Ifandwhentheerrormanifestsitself,whatwillbethedamagefortheorganization.Aspectsarecostsofrepair(bothofthesystemandoftheconsequences),forgoneincomeandlossofclientsorofconfidence.Usuallythedamageincreasesiftheerrorhasitsimpactonotherfunctionsorsystems.Inthecaseoferrorsoccurringinbatchprocessestheremaybeapossibilitytopreventthemfromhamperingusers,sothattheeventualdamagewillbesmallerthanwithsimilaron-lineprocesses.Ofcourse,thisonlyholdsiferrorsaredetectedontime.

Becauseofthecomplexityofthematter,itisimpossibletoassessriskswithcompleteobjectivityandindetail:

itisaglobalassessment.Itisthereforeimportantfortheriskassessmentnottobecarriedoutbythetestmanageralone.Alargenumberofpeopleinvolvedintheschemeshouldcontribute:

customer,users,developmentteam,accountants,ITauditorsandsoon.Thisnotonlyincreasesthequalityofthestrategy,butitalsohastheadvantagethatthedifferentpartiesaremoreawareoftherisksandtheextenttowhichtestingcontributestomakingtheserisksmanageableinabetterway.

Thedeveloperoftheteststrategyshouldrealizethat'users'arethebestpeopletoassessthedamageandthefrequencyofusewhenvaluingtherisks(end-users,systemmanagersandapplicationmanagers,linemanagement),whereasprojectteammembersarebesttoassessthechanceoferror(projectmanagers,designers,programmers,projectqualitystaff,testmanager).

Thefocusinriskassessmentisonproductrisks,or,inotherwords,whatistheriskfortheorganizationiftheproductdoesnotdemonstratetheexpectedquality.Inadditiontothis,therearealso(test)projectrisks.IfthesystemmustbeinproductiononJanuary1st,iffunctionalspecificationsareproducedtoolate,ifnoexperiencedtestersareavailable,orifthetestinfrastructureisnotreadyontime,thenwespeakof(test)projectrisks.Thesearenottakenintoaccountindeterminingtheteststrategy;theydoplayaroleinthetestplan.

Indevelopingateststrategytheaimistoseetoitthatthetestwillbeorganizedinsuchawaythatwithacertainextentofreliability

∙themostimportantproblemswillbefound;

∙theproblemswillbefoundinanearlystage;

∙theproblemsthatrequirethemostreworktimewillbefoundfirst:

∙efficientuseismadeofresources;

∙andeventuallyanaccuratequalityadvicecanbegiven.

Thiscanbesummarizedas:

Teststrategyaimsatfindingthemostimportanterrorsasearlyaspossibleagainstthelowestcosts

Inpractice,thedevelopmentofateststrategyisoftenplannedtocoincidewithpreparingthebudget,forexamplewiththehelpoftestpointanalysis.Theadvantageisthattheconsequencesoftheadoptedstrategyareimmediatelytranslatedintotimerequiredfortesting,andconsequentlythecostoftesting,whichmakesthestrategicchoicesmanageable.Ifthetimeavailablefortestingismoreorlessfixed,itisalsopossibletouseteststrategycombinedwithtestpointanalysistodeterminewhatisachievablewithinthetimelimits.Itisprobablyevenmoreimportanttomakeitclearatthistimewhichpartscannotbetested,orcannotbefullytested,andwhatriskswillthereforebeincurred.

3.QualityCharacteristics

Thequalitycharacteristicswedistinguishcanbedividedintodynamicandstaticqualitycharacteristics.Thedynamicqualitycharacteristicsdealwithfeaturesoftheinformationsysteminuse;examplesaresecurity,usability,continuity,traceability,functionality,userfriendliness,suitability,efficiency,performance.Thestaticareconcernedwithintrinsiccharacteristicsoftheinformationsystemandthedocumentation,asconsideredfromthestandpointofdevelopersandfuturesystemmanagers.Examplesaremanageability,maintainability,connectivity,reusability,portability,testability.

4.Procedure

Indevelopingateststrategywedistinguishbetweenmastertestplanningandatestplanforaspecifictestlevel,e.g.acceptancetestorsystemtest.

Theprocedurecanbefollowedbothfordevelopmentofnewsystemsandformaintenancesituations.Forthelatter,however,itisbesttomakeafewadjustmentsinthebasicprocedure(cf4.4).

Thedevelopmentofateststrategyisnotsomethingthatcanbedonepurelymethodicallyorformally.Thebelowstepsareaidsandindicators.Experienceandskillsoftheperformerofthisactivityintheareaoftesti

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 高中教育 > 语文

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1