A Time Window based Reinforcement Learning Reward for Test Case Prioritization in Continuous Integration

A Time Window based Reinforcement Learning Reward for Test Case Prioritization in Continuous Integration
复制标题

DOI:
10.1145/3361242.3361258
复制
发表时间:
2019-10
期刊:
Proceedings of the 11th Asia-Pacific Symposium on Internetware
影响因子:
--
通讯作者:
Zhaolin Wu;Yang Yang-Yang;Zheng Li;Ruilian Zhao
Zhaolin Wu;Yang Yang-Yang;Zheng Li;Ruilian Zhao
中科院分区:
其他
文献类型:
--
作者:
Zhaolin Wu;Yang Yang-Yang;Zheng Li;Ruilian Zhao

文献摘要

被引文献

相似文献

Continuous integration refers to the practice of merging the working copies of all developers into the mainline frequently. Regression testing for each mergence is characterized by continually changing test suite, limited execution time, and fast feedback, which demands new test optimization techniques. Reinforcement learning is introduced for test case prioritization to save computing resources in continuous integration environment, where a reasonable reward function is highly important for learning strategy, since the process of reinforcement learning is a reward-guided behavior. In this paper, APHFW, a novel reward function is proposed by using partial historical information of test cases effectively for fast feedback and cost reduction. The experiments are based on three open-source data sets, and the results show that the proposed reward function is more cost-effect than other reinforcement learning rewards in continuous integration environment.