一种自动生成软件测试用例的新方法-计算机应用与软件.PDF
文本预览下载声明
第34卷第10期 计算机应用与软件 Vol34No.10
2017年10月 ComputerApplicationsandSoftware Oct.2017
一种自动生成软件测试用例的新方法
1 2
董 昕 王 杰
1(成都工业学院计算机工程学院 四川成都611730)
2(中国电子科技集团第29研究所系统工程部 四川成都610036)
摘 要 泛欧集群通信系统是一种为无线用户提供语音和数据服务的公共安全的大型集群通信系统。作为其
核心组成部分,区域控制器在广泛区域内提供无线通信和电话互连互通的呼叫处理服务,其自身也是一个大型软
件系统。提出区域控制器软件基于Python方法的软件自动化测试用例生成一种创造性方法。该方法不仅能自动
创建测试用例,而且支持将创建的测试用例批量上传到存储器及支持批量运行。测试实践证明,该方法可以大大
减少软件测试人员的人工干预,而且较大程度地提高测试效率。设计实现了最大化脚本重用和最小化测试脚本
维护修改成本,值得在大型软件系统的大批量自动化测试环境中推广和部署。
关键词 大型软件系统 软件自动化测试 测试用例 Python方法 重用
中图分类号 TP311.56 文献标识码 A DOI:10.3969/j.issn.1000386x.2017.10.008
ANEWMETHODFORAUTOMATICALLYGENERATINGSOFTWARETESTCASE
1 2
DongXin WangJie
1(CollegeofComputerEngineering,ChengduTechnologicalUniversity,Chengdu611730,Sichuan,China)
2(DepartmentofSystemEngineering,The29thResearchInstituteofChinaElectronicsTechnologyGroupCorporation,Chengdu610036,Sichuan,China)
Abstract TETRAcommunicationsystemisapublicsecuritylargescaleclustercommunicationsystemthatprovides
voiceanddataservicesforwirelessusers.Asacorecomponent,thezonecontrollerprovidescallprocessingservicesfor
widearearadiocommunicationsandtelephoneinterconnectcallsinawidearea,whichisitselfalargesoftwaresystem.
ThispaperpresentsacreativemethodtothegenerationofsoftwareautomatedtestcasesbasedonthePythonofthezone
controllersoftware.Thismethodcannotonlyautomaticallycreatetestcases,butalsosupportthebatchoftestcases
uploadedtomemoryandsupportbatchoperation.Testpracticehasprovedthatthenewmethodcangreatlyreducethe
humaninterventionofsoftwaretestersandimprovethetestingefficiencytoagreatextent.Thedesignachievesmaximum
scriptingreuseandminimizesmaintenanceandmodificationcostsoftestscrip
显示全部