计算机工程与设计2024,Vol.45Issue(3) :940-947.DOI:10.16208/j.issn1000-7024.2024.03.041

轻量级嵌入式软件自动化测试框架设计

Design of lightweight embedded software automatic testing framework

陈建 沈亚峰 张谊
计算机工程与设计2024,Vol.45Issue(3) :940-947.DOI:10.16208/j.issn1000-7024.2024.03.041

轻量级嵌入式软件自动化测试框架设计

Design of lightweight embedded software automatic testing framework

陈建 1沈亚峰 1张谊1
扫码查看

作者信息

  • 1. 中国工程物理研究院计算机应用研究所,四川绵阳 621900
  • 折叠

摘要

为满足嵌入式软件测试过程中测试数据的快速生成与输入,采用数据与关键字驱动的混合驱动方法对嵌入式软件自动化测试框架进行设计.通过对嵌入式软件自动化测试框架的研究,明确测试框架设计的难点;对软件测试数据的组成与结构进行分析,构建数据与关键字驱动模型并对其生成与输入算法进行设计,根据模型实现复杂多接口测试数据的快速生成与输入.采用模块化思想,利用多线程原理对该轻量级测试框架进行设计与实现,通过实例验证该框架能够实现测试数据的自动生成与快速输入,提升测试效率.

Abstract

To meet the requirements of rapid generation and input of test data in the process of embedded software testing,a multi-driven method of data and keyword was proposed to design the embedded software automated testing framework.Through the research of embedded software automatic testing framework,the difficulties of testing framework design were clarified.The composition and structure of the test data were analyzed to construct the data and keyword driven models,the generation and in-put algorithms of test data were designed,and the rapid generation and input of complex multi-interface test data according to the model was realized.The lightweight testing framework was designed and implemented using modular ideas and multi-threading principles,and an example was given to verify that the framework can realize the automatic generation and fast input of test data,and improve the testing efficiency.

关键词

数据模型/数据驱动/关键字驱动/数据生成/嵌入式软件/测试框架/自动化测试

Key words

data model/data driven/keyword driven/data generation/embedded software/testing framework/automated tes-ting

引用本文复制引用

基金项目

军民融合科研发展基金(HT2004-02-KY127-009)

出版年

2024
计算机工程与设计
中国航天科工集团二院706所

计算机工程与设计

CSTPCD北大核心
影响因子:0.617
ISSN:1000-7024
参考文献量16
段落导航相关论文