首页> 外文期刊>The Journal of Systems and Software >A systematic study of reward for reinforcement learning based continuous integration testing
【24h】

A systematic study of reward for reinforcement learning based continuous integration testing

机译:基于持续整合测试的加固学习奖励系统研究

获取原文
获取原文并翻译 | 示例
           

摘要

Continuous integration(CI) testing is characterized by continually changing test cases, limited execution time, and fast feedback, where the classical test prioritization approaches are no longer suitable. Based on the essence of continuous decision mechanism, reinforcement learning(RL) is suggested for prioritizing test cases in CI testing, in which the reward plays a crucial role. In this paper, we conducted a systematic study of the reward function and reward strategy in CI testing. In terms of reward function, the whole historical execution information of test cases is used with the consideration of the failure times and failure distribution. Further considering the validity of historical information, partial historical information is used by proposing a time-window based approach. In terms of reward strategy which means how to reward, three strategies are introduced, i.e., total reward, partial reward, and fuzzy reward. The empirical study is conducted on four industrial-level programs, and the results reveal that using the reward function with historical information improves the Recall by on average 13.21% when compared with existing TF(Test Case Failure) reward function, and the fuzzy reward strategy is more flexible and improve the NAPFD(Normalized Average Percentage of Faults Detected) by on average 3.43% when compared with the other two strategies.
机译:连续集成(CI)测试的特点是通过不断更改测试用例,有限的执行时间和快速反馈,其中经典测试优先级方法不再适合。基于连续决策机制的本质,建议加固学习(RL)在CI试验中优先考虑测试用例,其中奖励发挥着至关重要的作用。在本文中,我们对CI测试中的奖励功能和奖励策略进行了系统研究。在奖励功能方面,测试用例的整个历史执行信息用于考虑故障时报和故障分布。进一步考虑历史信息的有效性,通过提出基于时间窗口的方法来使用部分历史信息。在奖励战略方面,意味着如何奖励,推出了三种策略,即总奖励,部分奖励和模糊奖励。实证研究是在四个工业一级方案上进行的,结果表明,与现有TF(测试案例故障)奖励功能相比,使用历史信息的奖励功能将召回平均为13.21%,以及模糊奖励策略与其他两种策略相比,更灵活,更加灵活,改善了Napfd(检测到的故障的平均百分比)。

著录项

  • 来源
    《The Journal of Systems and Software》 |2020年第12期|110787.1-110787.16|共16页
  • 作者单位

    College of Information Science and Technology Beijing University of Chemical Technology Beijing 100029 PR China;

    College of Information Science and Technology Beijing University of Chemical Technology Beijing 100029 PR China;

    College of Information Science and Technology Beijing University of Chemical Technology Beijing 100029 PR China;

    College of Information Science and Technology Beijing University of Chemical Technology Beijing 100029 PR China;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    Continuous integration; Test case prioritization; Reinforcement learning; Reward policy;

    机译:持续集成;测试案例优先级;强化学习;奖励政策;

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号