| 注册
首页|期刊导航|计算机工程|面向类集成测试序列确定的强化学习方法

面向类集成测试序列确定的强化学习方法

张晓天 王雅文 谢志庆 金大海 宫云战

计算机工程2024,Vol.50Issue(1):68-78,11.
计算机工程2024,Vol.50Issue(1):68-78,11.DOI:10.19678/j.issn.1000-3428.0066797

面向类集成测试序列确定的强化学习方法

Reinforcement Learning Method for Class Integration Test Order Determination

张晓天 1王雅文 2谢志庆 3金大海 1宫云战1

作者信息

  • 1. 网络与交换技术国家重点实验室,北京 100876
  • 2. 网络与交换技术国家重点实验室,北京 100876||广西密码学与信息安全重点实验室,广西 桂林 541004
  • 3. 北京邮电大学计算机学院(国家示范性软件学院),北京 100876
  • 折叠

摘要

Abstract

The Reinforcement Learning(RL)strategy for class integration test order is one of the key technologies for test optimization.It can adaptively adjust the integration strategy according to the system integration state.However,the existing schemes have high computational costs,is unsuitable for large-scale software systems,and ignore the risk of testing,which greatly reduces their applicability and reliability.To address these issues,this study proposes a test order-based RL method with important value weighted rewards.First,the RL modeling is optimized,specific position of the node in the test order is ignored,correlation between states is weakened,and usability of the model is improved.Based on this,the test strategy can then be updated end-to-end by combining the deep RL model to reduce the value function error and be more accurate.Finally,the modified software node importance is introduced in the reward function to achieve a multi-objective optimization solution with low Overall Complexity(OCplx)and increased priority of key classes.The comparison and analysis of the models on the SIR open-source system proves that the proposed method can effectively reduce the complexity of the overall test stub and is suitable for large-scale software systems.Furthermore,the proposed reward function incorporating the modified node importance can effectively improve the priority of key classes in test orders,with an average increase of 55.38%.

关键词

测试序列/强化学习/节点重要值/奖励函数/集成测试

Key words

test order/Reinforcement Learning(RL)/node importance value/reward function/integration test

分类

信息技术与安全科学

引用本文复制引用

张晓天,王雅文,谢志庆,金大海,宫云战..面向类集成测试序列确定的强化学习方法[J].计算机工程,2024,50(1):68-78,11.

基金项目

国家自然科学基金(U1736110) (U1736110)

广西密码学与信息安全重点实验室研究课题(GCIS202103). (GCIS202103)

计算机工程

OA北大核心CSTPCD

1000-3428

访问量0
|
下载量0
段落导航相关论文