欢迎来到天天文库
浏览记录
ID:39449318
大小:738.80 KB
页数:9页
时间:2019-07-03
《The State-based Testing of Object-Oriented Programs》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、TheState-basedTestingofObject-OrientedProgramsC.D.TurnerandDJ.RobsonComputerScience,SECS,UniversityofDurham,DurhamDH13LE,EnglandEmail:C.D.Tumer@durham.ac.ukDave.Robson@durham.ac.ukPhone:+44913742635AbstractthedevelopmentandmaintenancephasesandintheThispaperdescribesanewtechniqueknownas
2、state-maintenancephasethemethodisparticularlyrelevantbasedtestingwhichisusedforthevalidationoftothedirecttestingofchangesratherthantoobject-orientedprogramswithemphasisontheregressiontesting.interactionbetweenthefeaturesandtheobject'sstate.Becauseofthenatureofthetechnique,therandomTher
3、emainderofthispaperisasfollows:asectionorderinwhichfeaturescanbeinvokedistakenintodescribingtheadaptationofmoretraditionaltestingaccount.Thetechniqueiscomplementarytoothertechniquestotheobject-orientedmodel,areviewoffunctionalandstructuralapproachestovalidation.Acurrentliteratureinthea
4、rea,adetaileddescriptionofasuiteoftoolstosupportthestate-basedtestingofnewtechniquefortestingobject-orientedprogramsobject-orientedprogramsisalsooutlined.Theknownasstate-basedtesting,abriefintroductiontoaadaptationoftraditionalvalidationtechniquestothesuiteofprototypetoolsthatweredevel
5、opedfortheobject-orientedprogrammingmodelisalsodiscussed.evaluationofthenewtechniqueandasummaryoftheinformationpresentedinthispaper.1.IntroductionTheconceptsknowntodayasobject-orientation,first2.TraditionalTestingTechniquesappearedintheprogramminglanguageSimulaintheTherearetwobasiccate
6、goriesoftraditionaltestinglate1960's(see[l]).Sincethenanumberofobject-techniques:functionalandstructural.Functionalorientedlanguageshavebeendeveloped,forexample,testing(alsoknownasblack-boxtesting)involvesSmalltalk,EiffelandC++.Object-orientedthegenerationoftestcasesbasedpurelyonthepro
7、grammingpresentsadifferentapproachtothefunctionalspecificationofthesoftwarewithnoregardconstructionofprogramsfromthemoretraditionalforitsstructureorcode.Incontrast,structuraltestingmethods.Forexample,functionaldecomposition(alsoknownaswhite-boxtesting)usesinformationplacesthemainemph
此文档下载收益归作者所有