欢迎来到天天文库
浏览记录
ID:36749716
大小:1.65 MB
页数:64页
时间:2019-05-14
《基于ATF的分布式设备自动化测试套的实现》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、中文摘要中文摘要本文从数通设备发展概况及分类开始,对于软件测试发展及分类进行了介绍,并着重对自动化测试相关情况进行了讲解。通过对比,阐述了自动化测试的优点,并结合多主控条件下的分布式设备引出本文阐述的主要内容,即关于分布式设备自动化测试套的设计与实现。此外,对开发和使用本测试套的优势和开发过程中的一些风险困难做了简要概括。后续章节首先对自动化测试套的开发语言TCL(ToolCommandLanguage)和开发环境ATF(AutoTestFramework,自动化测试框架)作简要介绍,再从整体上对测试套开发流程进行阐述,分为整机重启
2、、接口板重启和主备倒换三个方面,侧重于实现理念和开发流程的介绍,使读者从概念上对本自动化测试套有一个整体把握。接下来整个第三章详细介绍了自动化测试套的代码实现,并结合代码仔细阐述了实现过程,对其中的重点部分和难点部分作了较为详细的阐述,并通过代码间的注释力求使读者能够理解作者的实现编程思想。然后通过较为简单的父类方法重载,实现具体过程与具体产品的结合,从而使自动化测试套真正具有实用意义。最后一部分简单回顾了本自动化测试套的开发意义以及展望了后期面临的一些不足和改进方向,为后续工作的继续开展指明了道路。关键字:自动化测试多主控TCLA
3、TF自动化测试套父类重载AbstractStartingwiththedeveloppingandclassificationofdigitalcommunicationdevice,weintroducethedevelopingandclassificationofsoftwaretest,alsoemphasizetheautotest.Thoughcomparingmanualtestandautotest,weexpatiatetheadvantageofthelatter.Themaincontentofthispape
4、risthedevelopmentoftheautotestsuitformulti-mainboarddevicestesting.Otherwise,weintroducethedifficultiesandriskoftheatuotestsuitdevelopping.Inthefollowingchapters,firstly,webrieflyintroducethetestsuitdevelopinglanguageandthedeveloppingcircumstanceATF··一AutoTestFramework
5、,testsuitdevelopprocedurewhichincludesdevicerestarting,interfaceboardrestartingandswitchoverparts,andpaymuchattentiontotherealizationconceptandprocedureSOthatyoumaygetalloverviewofmytestsuit.Andsecondly,inthe3rdchapter,weexpatiatetherealizationcodewithdetailedcol:12nle
6、ntaryandemphasizedessential.Then,simplereloadisusedtocombinetheprocedureandproductSOthatthetestsuitmaycontributetoapplication.Inthelastchapter,Ireviewthewholearticleandpointoutthesignificanceoftestsuit,thedebugsthatstillexistandtheimprovementinthefuture.Keywords:autote
7、sLmulti·mainboard,TCL,ATF,testsuit,reloadIl图目录图1.1集中式设备MSR20⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯一2图1.2分布式设备$9500⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯2图2.1测试床⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯.14图2.2测试拓扑⋯⋯⋯⋯⋯图2.3测试程序脚本⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯一16图2.4ATF层次示意⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯..17图2.5测试床设备描述示意⋯。图2.6测试床的更改⋯⋯图2.7
8、测试环境示意⋯⋯图2.8测试拓扑映射约束图2.9主备倒换流程⋯⋯图2.10单板重启流程⋯图2.11整机重启流程⋯V............⋯⋯........................20⋯⋯⋯..:⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯21⋯⋯
此文档下载收益归作者所有