东华理工软件测试复习资料

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

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.TestingofinformationsystemsWhatdowetest?ApplicationSoftwareHardwareSystemSoftwareProceduresDocumentationFunctionalityPerformanceUsabilityWHODOESTHETESTING?Softwaretestingisnotaonepersonjob.Ittakesateam,buttheteammaybelargerorsmallerdependingonthesizeandcomplexityoftheapplicationbeingtested.Theprogrammer(s)whowrotetheapplicationshouldhaveareducedroleinthetestingifpossible.Theconcernhereisthatthey’realreadysointimatelyinvolvedwiththeproductand“know”thatitworksthattheymaynotbeabletotakeanunbiasedlookattheresultsoftheirlabors.Who’sinvolvedintesting?Developers–CodeInspection,UnitTestingTesters–System&IntegrationTestingTrainers–TrainingmaterialsproductionUsers–UserAcceptanceTestingProjectManagers–Scheduling,Resourcing,Risks,Issues,DefectStatsEverybodyisresponsibleforquality-NASAWhytestingisImportantAllSoftwarehasdefects(bugs)Allsoftwareproductsare‘prototypes’.Softwareproductsaregettinglargerandmorecomplicated-Vista40%largerthanXP@over50millionLOCSoftwareiswrittenbyhuman–humanmakemistakesSoftwaretestinglookstofindthemostimportantdefectsasearlyaspossible–increasingconfidencethatthesoftwaremeetsspecification.TestingImportantConceptErrorBUGDefectVerificationandValidationERRORError:it'samistakeinprogrammer.E.g.whenwecompileaprogrammerinClanguagetherewecanseethenumberoferrorsandwarning.•SyntaxerrorAnErrorcanbeaDefectsorBug.BUGAftercodingandcompilingwe'llfindthemismatchbetweenexpectedandactualresult.Asoftwarebugisthecommontermusedtodescribeanerror,mistake,failureorfaultinacomputerprogramorsystemthatproducesanincorrectorunexpectedresult,orcausesittobehaveinunintendedways.Mostbugsarisefrommistakesanderrorsmadebyhumanineitheraprogram'ssourcecodeoritsdesign,andafewarecausedbycompilersproducingincorrectcode.Aprogramthatcontainsalargenumberofbugs,and/orbugsthatseriouslyinterferewithitsfunctionality,issaidtobebuggy.Debug:Debugging:Itinvolvesidentifying,isolating,andfixingtheproblems/bugsDEFECT•DEFECT:SameasBUGbutfoundinreal-timeenvironment/atcustomer'ssite.•Defect:IsanerrorfoundAFTERtheapplicationgoesintoproduction•Bug:IsanerrorfoundBEFOREtheapplicationgoesintoproductionVerificationandValidation•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.ReliabilityMaintainabilityUsabilityPortabilityCorrectnessEfficiencySoftwarequality:Reliability:Productreliabilityismeasuredintermsofworkingofprojectunderdifferentworkingenvironmentanddifferentconditions.Maintainability:Differentversionsoftheproductshouldbeeasytomaintain.Usability:Thiscanbemeasuredintermsofeaseofuse.Applicationshouldbeuserfriendly.Shouldbeeasytolearn.Softwarequality:Correctness-Applicationshouldbecorrectintermsofitsfunctionality,calculationsusedinternallyandthenavigationshouldbecorrect.Efficiency-ToMajorsystemqualityattribute.Measuredintermsoftimerequiredtocompleteanytaskgiventothesystem.SDLCModelAframeworkthatdescribestheactivitiesperformedateachstageofasoftwaredevelopmentproject.SDLCWaterfallModelRequirements–definesneededinformation,function,behavior,pe

1 / 25
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功