电子与信息工程外文翻译.docx

上传人:b****2 文档编号:1173797 上传时间:2022-10-18 格式:DOCX 页数:9 大小:24.31KB
下载 相关 举报
电子与信息工程外文翻译.docx_第1页
第1页 / 共9页
电子与信息工程外文翻译.docx_第2页
第2页 / 共9页
电子与信息工程外文翻译.docx_第3页
第3页 / 共9页
电子与信息工程外文翻译.docx_第4页
第4页 / 共9页
电子与信息工程外文翻译.docx_第5页
第5页 / 共9页
点击查看更多>>
下载资源
资源描述

电子与信息工程外文翻译.docx

《电子与信息工程外文翻译.docx》由会员分享,可在线阅读,更多相关《电子与信息工程外文翻译.docx(9页珍藏版)》请在冰豆网上搜索。

电子与信息工程外文翻译.docx

电子与信息工程外文翻译

 

西安邮电学院

毕业设计(论文)

外文文献翻译

 

系别:

电子与信息工程

专业:

电子信息工程

班级:

电子1002班

学生姓名:

桑永茂

导师姓名:

张新职称:

教授

起止时间:

2014年3月10日至2014年6月15日

 

英文原文

Theartofsoftwaretesting

GlenfordJ.Myers

Whenyoufinishmodule-testingaprogram,youhavereallyonlyjustbegunthetestingprocess.Thisisespeciallytrueoflargeorcomplexprograms.Considerthisimportantconcept:

Asoftwareerroroccurswhentheprogramdoesnotdo

whatitsenduserreasonablyexpectsittodo.

Applyingthisdefinition,evenifyoucouldperformanabsolutelyperfectmoduletest,youstillcouldn’tguaranteethatyouhavefoundallsoftwareerrors.

Tocompletetesting,then,someformoffurthertestingisnecessary.Wecallthisnewformhigher-ordertesting.Softwaredevelopmentislargelyaprocessofcommunicatinginformationabouttheeventualprogramandtranslatingthisinformationfromoneformtoanother.Forthatreason,thevastmajorityofsoftwareerrorscanbeattributedtobreakdowns,mistakes,andnoiseduringthecommunicationandtranslationofinformation.ThisviewofsoftwaredevelopmentisillustratedinFigure6.1,amodelofthedevelopmentcycleforasoftwareproduct.Theflowoftheprocesscanbesummarizedinsevensteps:

1.Theprogramuser’sneedsaretranslatedintoasetofwrittenrequirements.Thesearethegoalsfortheproduct.

2.Therequirementsaretranslatedintospecificobjectivesbyassessingfeasibilityandcost,resolvingconflictingrequirements,andestablishingprioritiesandtrade-offs.

3.Theobjectivesaretranslatedintoapreciseproductspecification,viewingtheproductasablackboxandconsideringonlyitsinterfacesandinteractionswiththeenduser.Thisdescriptioniscalledtheexternalspecification.

4.Iftheproductisasystemsuchasanoperatingsystem,

flight-controlsystem,databasemanagementsystem,oremployeepersonnelsystem,ratherthanaprogram(compiler,payrollprogram,wordprocessor),thenextprocessissystemdesign.Thissteppartitionsthesystemintoindividualprograms,components,orsubsystems,anddefinestheirinterfaces.

5.Thestructureoftheprogramorprogramsisdesignedbyspecifyingthefunctionofeachmodule,thehierarchicalstructureofthemodules,andtheinterfacesbetweenmodules.

6.Aprecisespecificationisdevelopedthatdefinestheinterfaceto,andfunctionof,eachmodule.

7.Throughoneormoresubsteps,themoduleinterfacespecificationistranslatedintothesource-codealgorithmofeachmodule.

Here’sanotherwayoflookingattheseformsofdocumentation:

•Requirementsspecifywhytheprogramisneeded.

•Objectivesspecifywhattheprogramshoulddoandhowwelltheprogramshoulddoit.

•Externalspecificationsdefinetheexactrepresentationoftheprogramtousers.

•Documentationassociatedwiththesubsequentprocessesspecifies,inincreasinglevelsofdetail,howtheprogramisconstructed.

Giventhepremisethatthesevenstepsofthedevelopmentcycleinvolvecommunication,comprehension,andtranslationofinformation,andthepremisethatmostsoftwareerrorsstemfrombreakdownsininformationhandling,therearethreecomplementaryapproachestopreventand/ordetecttheseerrors.First,wecanintroducemoreprecisionintothedevelopmentprocesstopreventmanyoftheerrors.Second,wecanintroduce,attheendofeachprocess,aseparateverificationsteptolocateasmanyerrorsaspossiblebeforeproceedingtothenextprocess.ThisapproachisillustratedinFigureittotheoutputofthepriorstage(thestatementofobjectives)andfeedingbackanydiscoveredmistakestotheexternal-specificationprocess.UsethecodeinspectionandwalkthroughmethodsdiscussedinChapter3intheverificationstepattheendoftheseventhprocess.

Thethirdapproachistoorientdistincttestingprocessestowarddistinctdevelopmentprocesses.Thatis,focuseachtestingprocessonaparticulartranslationstep,thusfocusingitonaparticularclassoferrors.ThisapproachisillustratedinFigure6.3.Thetestingcyclehasbeenstructuredtomodelthedevelopmentcycle.Inotherwords,youshouldbeabletoestablishaone-to-onecorrespondencebetweendevelopmentandtestingprocesses.Forinstance:

•Thepurposeofamoduletestistofinddiscrepanciesbetween

theprogram’smodulesandtheirinterfacespecifications.

•Thepurposeofafunctiontestistoshowthataprogramdoesnotmatchitsexternalspecifications.

•Thepurposeofasystemtestistoshowthattheproductisinconsistentwithitsoriginalobjectives.

Theadvantagesofthisstructurearethatitavoidsunproductiveredundanttestingandpreventsyoufromoverlookinglargeclassesoferrors.Forinstance,ratherthansimplylabelingsystemtestingas“thetestingofthewholesystem”andpossiblyrepeatingearliertests,systemtestingisorientedtowardadistinctc

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

当前位置:首页 > IT计算机 > 计算机软件及应用

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

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