您好,欢迎访问三七文档
当前位置:首页 > 电子/通信 > 数据通信与网络 > 东华理工软件测试复习资料
SoftwaretestingIntroduction&FundamentalsWhatisSoftwareTesting?Whytestingisnecessary?Whodoesthetesting?Whathastobetested?Whenistestingdone?Howoftentotest?AgendaWhatissoftwaretesting/Whodoesit?WhysoftwaretestingisimportantSomefundamentalsoftestingTestPlans&ScriptsSampleTestingTechniquesWhatistesting?Testingisaprocessaimedat:FindingdefectsinacontrolledmannerDetectingthelevelofqualityofthetestobjectFindthegapbetweenspecificationsandtheactualproductWhatissoftwaretesting?1.Softwaretestingistheprocessofexecutingsoftwareinacontrolledmanner,inordertoanswerthequestion“Doesthesoftwarebehaveasspecified?”2.Softwaretestingisoftenusedinassociationwiththetermsverificationandvalidation.3.Verificationisthecheckingortestingofitems,includingsoftwareforconformanceandconsistencywithanassociatedspecification.4.Softwaretestingisjustonekindofverification,whichalsousestechniquessuchasreviews,analysis,inspectionsandwalkth.roughs5.Validationistheprocessofcheckingthatwhathasbeenspecifiediswhattheuseractuallywanted.Validation:arewedoingtherightjob?Verification:arewedoingthejobright?Whydowetest?ProvideconfidenceinthesystemdentifyareasofweaknessEstablishthedegreeofqualityEstablishtheextentthattherequirementshavebeenmet.Toprovideanunderstandingoftheoverallsystem.TestingofinformationsystemsWhatdowetest?ApplicationSoftwareHardwareSystemSoftwareProceduresDocumentationFunctionalityPerformanceUsabilityWHODOESTHETESTING?Softwaretestingisnotaonepersonjob.Ittakesateam,buttheteammaybelargerorsmallerdependingonthesizeandcomplexityoftheapplicationbeingtested.Theprogrammer(s)whowrotetheapplicationshouldhaveareducedroleinthetestingifpossible.Theconcernhereisthatthey’realreadysointimatelyinvolvedwiththeproductand“know”thatitworksthattheymaynotbeabletotakeanunbiasedlookattheresultsoftheirlabors.Who’sinvolvedintesting?Developers–CodeInspection,UnitTestingTesters–System&IntegrationTestingTrainers–TrainingmaterialsproductionUsers–UserAcceptanceTestingProjectManagers–Scheduling,Resourcing,Risks,Issues,DefectStatsEverybodyisresponsibleforquality-NASAWhytestingisImportantAllSoftwarehasdefects(bugs)Allsoftwareproductsare‘prototypes’.Softwareproductsaregettinglargerandmorecomplicated-Vista40%largerthanXP@over50millionLOCSoftwareiswrittenbyhuman–humanmakemistakesSoftwaretestinglookstofindthemostimportantdefectsasearlyaspossible–increasingconfidencethatthesoftwaremeetsspecification.TestingImportantConceptErrorBUGDefectVerificationandValidationERRORError:it'samistakeinprogrammer.E.g.whenwecompileaprogrammerinClanguagetherewecanseethenumberoferrorsandwarning.•SyntaxerrorAnErrorcanbeaDefectsorBug.BUGAftercodingandcompilingwe'llfindthemismatchbetweenexpectedandactualresult.Asoftwarebugisthecommontermusedtodescribeanerror,mistake,failureorfaultinacomputerprogramorsystemthatproducesanincorrectorunexpectedresult,orcausesittobehaveinunintendedways.Mostbugsarisefrommistakesanderrorsmadebyhumanineitheraprogram'ssourcecodeoritsdesign,andafewarecausedbycompilersproducingincorrectcode.Aprogramthatcontainsalargenumberofbugs,and/orbugsthatseriouslyinterferewithitsfunctionality,issaidtobebuggy.Debug:Debugging:Itinvolvesidentifying,isolating,andfixingtheproblems/bugsDEFECT•DEFECT:SameasBUGbutfoundinreal-timeenvironment/atcustomer'ssite.•Defect:IsanerrorfoundAFTERtheapplicationgoesintoproduction•Bug:IsanerrorfoundBEFOREtheapplicationgoesintoproductionVerificationandValidation•Verification:1.ItisaQualityimprovementprocess.2.Itisinvolvewiththereviewingandevaluatingtheprocess.3.ItisconductedbyQAteam.4.VerificationisCorrectness.5.Areweproducingtheproductright?Validation:1.itisensuresthefunctionality.2.ItisconductedbydevelopmentteamwiththehelpfromQCteam.3.ValidationisTruth.4.Validationisthefollowingprocessofverification.5.Areweproducingtherightproduct?SoftwareQuality:Quality:Thedegreetowhichacomponent,systemorprocessmeetsspecifiedrequirementsand/oruser/customerneedsandexpectations.Softwarequality:Thetotalityoffunctionalityandfeaturesofasoftwareproductthatbearonitsabilitytosatisfystatedorimpliedneeds.SoftwareQuality:Qualitycanbedefineindifferentmanner.Qualitydefinitionmaydifferfrompersontoperson.Butfinallythereshouldbesomestandards.SoFollowingfactorsareusedtomeasuresoftwaredevelopmentquality.ReliabilityMaintainabilityUsabilityPortabilityCorrectnessEfficiencySoftwarequality:Reliability:Productreliabilityismeasuredintermsofworkingofprojectunderdifferentworkingenvironmentanddifferentconditions.Maintainability:Differentversionsoftheproductshouldbeeasytomaintain.Usability:Thiscanbemeasuredintermsofeaseofuse.Applicationshouldbeuserfriendly.Shouldbeeasytolearn.Softwarequality:Correctness-Applicationshouldbecorrectintermsofitsfunctionality,calculationsusedinternallyandthenavigationshouldbecorrect.Efficiency-ToMajorsystemqualityattribute.Measuredintermsoftimerequiredtocompleteanytaskgiventothesystem.SDLCModelAframeworkthatdescribestheactivitiesperformedateachstageofasoftwaredevelopmentproject.SDLCWaterfallModelRequirements–definesneededinformation,function,behavior,pe
本文标题:东华理工软件测试复习资料
链接地址:https://www.777doc.com/doc-1848079 .html