检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:虞砺琨[1,2] 左万娟 于倩[1,2] 陈华南 黄晨[1,2] YU Li-kun;ZUO Wan-juan;YU Qian(CHEN Hua-nan2,HUANG Chen1,2(1.Beijing Institute of Control Engineering,Beijing 100190,China;Beijing Sunwise Information Technology Co.,Ltd.,Beijing 100190,China)
机构地区:[1]北京控制工程研究所,北京100190 [2]北京轩宇信息技术有限公司,北京100190
出 处:《测控技术》2020年第7期24-29,共6页Measurement & Control Technology
摘 要:在嵌入式软件设计过程中,接口是非常重要的设计元素,对接口协议进行验证是接口测试中的主要内容。但现在软件接口类型不同,需要人工识别与组装各种接口的测试用例报文,接口协议的复杂度直接影响测试用例编制的难度与工作量。为实现接口测试用例的自动生成,提出一种基于数据模型的接口用例自动生成技术,根据复杂的接口协议文件,建立被测软件的接口协议形式化模型,准确、高效地表达接口协议规则及要素,并使用动态计算与替换算法得到相应业务场景下的预期结果,生成标准化的测试用例,更可兼容多种类型的接口,有效提升了接口测试效率。In the process of embedded software design,the interface is a very important design element,and verifying the interface protocol is the main content of the interface testing.However,due to the different types of software interfaces,it is ecessary to manually identify and assemble the test case messages of various interfaces.The complexity of interface protocol directly affects the difficulty and workload of test case preparation.In order to realize the automatic generation of interface test cases,an automatic generation technology of interface cases based on data model is proposed.According to the complex interface protocol files,the formal model of interface protocol of the software under test is established to express the rules and elements of interface protocol accurately and efficiently,and the expected results in the corresponding business scenarios are obtained by using the dynamic calculation and replacement algorithms,and the standardized test cases that are more compatible with various types of interfaces are generated,which effectively improves the efficiency of interface testing.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.217.210.224