欢迎来到天天文库
浏览记录
ID:28117108
大小:9.68 MB
页数:57页
时间:2018-12-08
《wi-fi产品自动测试技术研究与实现》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、Wi.Fi产品自动测试技术研究与实现摘要Wi-Fi测试项目众多,如果单靠测试工程师手动按键来执行所有测试用例,要花费几周时间,时间上不允许,也容易让测试工程师产生疲倦心里,很容易造成测试的遗漏。本课题组设计了一种基于Tcl语言实现的自动测试系统。该测试系统能自动配置网络参数,按照预先准备好的命令顺序执行,和wi—Fi产品完成交互式测试过程。测试中间的log文件能自动保存,测试结果能自动判断成功与否。测试效率提高很多倍。每当wi_Fi产品发布一个新的版本,就必须要做回归测试,为了在最短的时问内发现bug,回归测试项的选取就很重要。本课题组利用最小测试集理论,对众
2、多的测试项目进行分析比较,研究不同测试项对测试效率和性能的影响,找到了最能体现Wi-Fi系统的测试案例,实践证明这个最小测试集能够发现绝大部分bug,优化了回归测试。如果测试程序本身不稳定,造成经常死机,测试工程师还要花费精力来判断是测试程序问题,还是被测试系统bug。这是不可接受的,这将大大增加测试系统的复杂性,耽误测试进度。所以该自动测试系统的可靠性要求很高。本课题组通过二项实用增强技术优化测试代码,做到代码足够的精炼和简洁,占用计算机内存空间足够小,才不至于内存泄漏,导致测试系统崩溃,大大提高了测试系统的稳定性。关键词:Wi.Fi站点接入点Tcl语言最小
3、测试集lIlTheResearchandImplementationofAutoTestSystemonWi.FiProductionAbstractThereisalotofthetestitemsofWi-Fi.ItwillspendafewweekstotestallcasesifTestEngineerstrikesthekeytoexecuteitbyhand,andthetimeisunacceptable.Morever,TestEngineerbecomestiredandevensomecaseswereomitted.OurtaskGrou
4、pdesignsakindofautotestsystembasedonTellanguagetoimplementthetest.Thetestsystemcanconfigurethenetworkparameterautomatically,executetheCommandorderlyaccordingtotheruleshadbeenprepared,andcommunicationwithWi-Fiproductiontofinishtheprocessoftestalternately.Thelogfilecanbesavedautomatic
5、ally,theresultcanbejudgedautomaticallytoindicatethatitissuccessfulorfailure.Theefficiencyisimprovedseveralfold.OnceanewversionofWi·Fiproductionisreleased,theregressiontestmustbeexecuted.Itisimportanttoselecttheitemsofregressioninordertofindthebugsinashorttime.OurtaskGrouputilizethet
6、heoryofMinimumtestsetstoanalyseandcomparealotoftestiterns,andfindthetestcasesthatcanshowWi—Fifunctionbasically.TheresultprovedtheMinimumtestsetscanfindamajorityofbugs,andoptimizedtheregressiontest.Ifthetestprogramsisunstableandresultinthesystemisdownfrequently,itwillspendtestEnginee
7、rmuchtimestojudgetheproblemlocatedintestprogramsortestedsystem.Thisisunacceptable,andwillincreasethecomplexityoftestsystem,delaythetestplan.Itshowsthatthereliabilityofautotestsystemishighgrade.OurtaskGroupoptimizethetestcodebytwokindofappliedtechnology,makethecodeissimpleandcompact.
8、Thetestprogranmsuse
此文档下载收益归作者所有