检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:黄晨 于倩[1,2] 虞砺琨 陈华南[1] 王小丽 HUANG Chen;YU Qian;YU Likun;CHEN Huanan;WANG Xiaoli(Beijing Sunwise Information Technology Ltd.,Beijing 100190,China;Beijing Institute of Control Engineering,Beijing 100190,China)
机构地区:[1]北京轩宇信息技术有限公司,北京100190 [2]北京控制工程研究所,北京100190
出 处:《电子设计工程》2023年第22期101-106,共6页Electronic Design Engineering
摘 要:星载嵌入式软件功能逻辑复杂,数据之间存在关联性和约束性,人工设计测试用例难以保证覆盖所有输入、所有组合的情况。通过对比活动图控制流和数据流对象的语义模型,说明这两种模型在适用功能场景、用例数据上的差异性,针对数据流对象模型建立可执行路径上表达式组集合,根据变量类型、有效范围等基本属性,进行变量约束求解生成数据再形成测试用例,并选取典型功能场景开展验证,结果表明,该方法能够满足等价类等数据覆盖的要求,快速提升测试效率。The function logic of on-board embedded software is complex,and there are correlations and constraints between data.It is difficult to ensure that all inputs and combinations are covered by manually designed test cases.By comparing the activity diagram semantic models of control flow and data flow objects,the differences between the two models in applicable function scenarios and use case data are explained.For the data flow object model,an expression group set on the executable path is established.Based on the basic attributes such as variable type,effective range,variable constraints are solved to generate data,and then test cases are formed.A typical functional scenario is selected for verification,and the results show that this method can meet the requirements of data coverage such as equivalence classes,and quickly improve the testing efficiency.
分 类 号:TN06[电子电信—物理电子学]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.123