The invention discloses a design method of interchangeability test software of electric power wireless public network communication unit, which divides the interchangeability test software of electric power wireless public network communication unit into interchangeability test software part and user input part; the user input part includes: configuration file module and test case module; the interchangeability test software part includes: configuration file processing module Block, test case preprocessing module, data sending and receiving module and result judgment and output module. The configuration file processing module is used to read the file path and configuration of each line to be tested in the configuration file module and read the test case file; the test case preprocessing module is used to process the test case instructions; the data sending and receiving module is used to send the test case instructions to the serial port, The result determination output module is used to compare the received result with the expected result to draw a conclusion. This design method solves the problem of modifying test software when modifying test cases, and increases the flexibility.
【技术实现步骤摘要】
电力无线公网通信单元互换性测试软件的设计方法
本专利技术是关于无线通信领域,特别是关于一种电力无线公网通信单元互换性测试软件的设计方法。
技术介绍
目前市面上对于无线公网通信单元的互换性测试,除少数手动测试外一般自动化测试方案都是将测试集成在一个互换性测试系统内,其中对于测试用例的设计是直接固化在软件内部,对于不同的测试用例有不同的条件语句,按软件界面选定的测试用例,软件执行相应的用例分支进行测试,测试过程也是自动化完成。现有的技术方案在完成远程通信模块的互换性测试软件时,只需要执行软件,然后对相应的测试用例进行勾选操作,同时也需要对串口进行配置等其他的设置与勾选操作。点击开始测试等,就可以等待测试结束。现有技术虽然操作简单方便,但是其对测试用例的设计太过死板,将测试用例固化在软件内部,当需要增加或修改测试用例时,则就需要更改软件或对软件进行升级操作,且测试用例固定,无法实现灵活多变的临时性测试。公开于该
技术介绍
部分的信息仅仅旨在增加对本专利技术的总体背景的理解,而不应当被视为承认或以任何形式暗示该信息构成已为本领域一般技术人员所公知的现有技术。
技术实现思路
本专利 ...
【技术保护点】
1.一种电力无线公网通信单元互换性测试软件的设计方法,其特征在于,将该电力无线公网通信单元互换性测试软件分为互换性测试软件部分和用户输入部分;所述用户输入部分包括:配置文件模块和测试用例模块,所述配置文件模块用于编制各行需测试的文件路径及配置;所述测试用例模块用于编制测试用例文件;所述互换性测试软件部分包括:配置文件处理模块、测试用例预处理模块、数据发送接收模块和结果判定输出模块,所述配置文件处理模块用于读取配置文件模块中的各行需测试的文件路径及配置,进行循环读取测试用例文件;所述测试用例预处理模块用于处理测试用例指令;所述数据发送接收模块用于将测试用例指令发送至串口,并等 ...
【技术特征摘要】
1.一种电力无线公网通信单元互换性测试软件的设计方法,其特征在于,将该电力无线公网通信单元互换性测试软件分为互换性测试软件部分和用户输入部分;所述用户输入部分包括:配置文件模块和测试用例模块,所述配置文件模块用于编制各行需测试的文件路径及配置;所述测试用例模块用于编制测试用例文件;所述互换性测试软件部分包括:配置文件处理模块、测试用例预处理模块、数据发送接收模块和结果判定输出模块,所述配置文件处理模块用于读取配置文件模块中的各行需测试的文件路径及配置,进行循环读取测试用例文件;所述测试用例预处理模块用于处理测试用例指令;所述数据发送接收模块...
【专利技术属性】
技术研发人员:辛宗彦,唐晓柯,刘伟,李铮,唐新竹,
申请(专利权)人:北京智芯微电子科技有限公司,国网信息通信产业集团有限公司,国家电网有限公司,
类型:发明
国别省市:北京,11
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。