A framework for the specification of test cases fo

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

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

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

资源描述

AFrameworkfortheSpecicationofTestCasesforReal-TimeDistributedSystemsThomasWalteraandJensGrabowskibaComputerEngineeringandNetworksLaboratory(TIK),SwissFederalInstituteofTechnologyZurich,Gloriastrasse35,CH-8092Zurich,Switzerland,phone(+411)6327007,fax(+411)6321035,wal-ter@tik.ee.ethz.ch,(ITM),MedicalUniversityofLubeck,RatzeburgerAllee160,D-23538Lubeck,Germany,phone(+49451)5003723,fax(+49451)5003722,jens@itm.mu-luebeck.de,(CTMF)isawellestablishedstandardwhichdenesandregulatestheconformancetestingprocedureforprotocolimplementations.Conformancetestingismeanttobefunctionalblack-boxtesting.Besidesconceptsandtermi-nology,CTMFstandardizestestingarchitecturesandtheTreeandTabularCombinedNotation(TTCN)asthetestspecicationlanguage.Sincemoreandmoredistributedsystemssuchasmultimedia,safety-criticalandreal-timesystemsrelyonthetimelyavailabilityofinformation,testingofreal-timerequirementsbecomesaseriousissue,too.Unfortunately,testingreal-timeandothernon-functionalrequirements(performanceandreliability)areoutsidethescopeofCTMF.InthispaperwepresentanextensionofCTMFwhichallowstospecifytestcasesfortestingreal-timerequirements.Theextensionincludesagenerictestingarchitectureandanotationfortestspecicationwhichiscalledreal-timeTTCN.Keywords:Softwaretesting,conformancetesting,real-time,real-timedistributedsystems,testingarchitectures,testnotations,real-timedistributedsystemstesting.1.IntroductionInthepast,distributedsystemsprovidedbest-eortcommunicationservices.Best-eortmeansthatanapplicationsendsdatawheneveritwantsto,inanyquantityandwithoutaskingortellingthenetworkrst,andthenetworkdeliversdataifitcanwithnoguaranteeofreliability,delaybound,throughput,jittercontroletc.Thiskindofserviceprovisionis,however,notsucientfornewclassesofreal-timedistributedsystemslikemultimediaandsafety-criticalsystems,e.g.,videoconferencingsystemsorprocesscontrolsystems.Forsuchsystemstoworkcorrectly,quality-of-serviceguaranteesareessential,andcommunicationtaskshavetobeperformedinreal-time.Thegrowingcomplexityofthesesystemsmakestheformalvericationofreal-timepropertiesimpossible(oratleastintractable).Insuchsituations,testingisafeasibleapproachtoget2condencethatadistributedsystembehavescorrectlyinallrespects,includingthereal-timebehaviourevenundervarioussituations.Testingmeansthatexpectedoutcomesasprescribedbythespecicationofthesoftwareprogramarecomparedwithobservedoutcomesasproducedbyrunsofthesoftwareprogram[7,20,37,45].Ifexpectedandobservedoutcomesdier,afaulthasbeendiscovered.Apairofinputsandexpectedoutputsistermedatestcase.Testspecicationistheprocessofidentifyingpairsofinputandexpectedoutput.AtestingmethodologyandframeworkforOSI-compliantdistributedsystemshavebeendevelopedinthepastbyISO(InternationalOrganizationforStandardization)andITU{T(InternationalTelecommunicationUnion|TelecommunicationStandardsSector)whichisknownastheconformancetestingmethodologyandframework(CTMF)[21].InthispaperwedevelopadownwardscompatibleextensionofCTMFfortestingreal-timedistributedsystems.Thecontributionsofthispapertoreal-timedistributedsystemstestingarethreefold:First,classicationsofdistributedsystemsandtypesoftestingarepresented.Theclassicationofdistributedsystemsconsidersthefollowingparameters:distribution(allowstodistinguishbetweenlocalanddistributedsystems),communication(distinguishesbetweensyn-chronousandasynchronouscommunicationaswellasbetweenunicast,multicastandbroadcastcommunication),andreal-time.Inourclassicationoftypesoftesting,weconsiderparam-eterssuchastestingobjectives(testingfunctionalandnon-functionalrequirements),testingapproaches(black-box,grey-boxandwhite-boxtesting),andtestingarchitectures(thecompo-nentsthatmakeupatestsystem).Second,basedontheseclassications,wedenetestingarchitecturessuitablefortestingadiversesetofdistributedsystemswithrespecttodierenttestingobjectives.Ourideaistohaveatoolboxofcomponentsthatcanbecombinedgener-icallyintoatestingarchitecturesuitablefortheapplicationorsystemtobetested.Third,atestnotationisproposedfortestingreal-timeaspectsofdistributedsystems.Essentially,ourapproachallowsthetimingofactionsrelativetotheoccurrenceofpreviousactions.Thepaperisstructuredasfollows:Section2givesaclassicationofdistributedsystemsanddistributedtesting.Weusethisclassicationfortheevaluationofexistingtestingframeworksandforidentifyingwhereourframeworktsin.Section3presentsthedetailsofourproposedtestingarchitectureandtestspecicationlanguage.Section4presentsanapplicationofourtestingmethodology.Theapplicationisinquality-of-servicetestingofavideoconferencingsystem.Beforesummarizingthemainissuesofthepaper,werelateourworktoresearchworkdocumentedintheliterature(Section5).2.Real-timedistributedsystemsandreal-timedistributedtestingReal-timedistributedsystemscoverawiderangeofsystemsfocusingonsolvingdierentcompu-tationalproblems.Intheliterature,denitionsofembeddedsystems,reactivesystems,real-timesystems,orhybridsys

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

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

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

×
保存成功