Reinforcement Learning for Test Case Prioritization
Not on the map. Why?
Abstract (arXiv)
Continuous Integration (CI) significantly reduces integration problems, speeds up development time, and shortens release time. However, it also introduces new challenges for quality assurance activities, including regression testing, which is the focus of this work. Though various approaches for test case prioritization have shown to be very promising in the context of regression testing, specific techniques must be designed to deal with the dynamic nature and timing constraints of CI. Recently, Reinforcement Learning (RL) has shown great potential in various challenging scenarios that require continuous adaptation, such as game playing, real-time ads bidding, and recommender systems. Inspired by this line of work and building on initial efforts in supporting test case prioritization with RL techniques, we perform here a comprehensive investigation of RL-based test case prioritization in a CI context. To this end, taking test case prioritization as a ranking problem, we model the sequential interactions between the CI environment and a test case prioritization agent as an RL problem, using three alternative ranking models. We then rely on carefully selected and tailored state-of-the-art RL techniques to automatically and continuously learn a test case prioritization strategy, whose objective is to be as close as possible to the optimal one. Our extensive experimental analysis shows that the best RL solutions provide a significant accuracy improvement over previous RL-based work, with prioritization strategies getting close to being optimal, thus paving the way for using RL to prioritize test cases in a CI context.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). First posted on arXiv 3 Nov 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 4; 2024: 1; 2025: 3; 2026: 2.
12 papers.
- 2023ChatGPT: A Study on its Utility for Ubiquitous Software Engineering Taskscited by 12
- 2023RLocator: Reinforcement Learning for Bug Localizationcited by 7
- 2024Systematic Literature Review on Application of Learning-based Approaches in Continuous Integrationcited by 6
- 2025RAGVA: Engineering Retrieval Augmented Generation-based Virtual Assistants in Practicecited by 6
- 2021Robust Risk-Sensitive Reinforcement Learning Agents for Trading Marketscited by 3
- 2022A Comparison of Reinforcement Learning Frameworks for Software Testing Taskscited by 3
- 2023Systematic Literature Review on Application of Machine Learning in Continuous Integrationcited by 2
- 2023DREAM: Debugging and Repairing AutoML Pipelinescited by 1
- 2025Targeted Test Selection Approach in Continuous Integrationcited by 1
- 2025Reconsidering Requirements Engineering: Human-AI Collaboration in AI-Native Software Developmentcited by 0
- 2026Test Case Prioritization: A Snowballing Literature Review and TCPFramework with Approach Combinatorscited by 0
- 2026Trajectory-Aware Benchmark Subset Selection for Cost-Efficient Software Engineering Agent Regression Testingcited by 0
- 2026Trajectory-Aware Benchmark Subset Selection for Cost-Efficient Software Engineering Agent Regression Testing21 Sep 2026
- 2026Test Case Prioritization: A Snowballing Literature Review and TCPFramework with Approach Combinators26 Feb 2026
- 2025Reconsidering Requirements Engineering: Human-AI Collaboration in AI-Native Software Development5 Oct 2025
- 2025Targeted Test Selection Approach in Continuous Integration12 Sep 2025
- 2025RAGVA: Engineering Retrieval Augmented Generation-based Virtual Assistants in Practice20 Feb 2025
- 2024Systematic Literature Review on Application of Learning-based Approaches in Continuous Integration28 Jun 2024
- 2023DREAM: Debugging and Repairing AutoML Pipelines31 Dec 2023
- 2023ChatGPT: A Study on its Utility for Ubiquitous Software Engineering Tasks26 May 2023
- 2023Systematic Literature Review on Application of Machine Learning in Continuous Integration22 May 2023
- 2023RLocator: Reinforcement Learning for Bug Localization9 May 2023
- 2022A Comparison of Reinforcement Learning Frameworks for Software Testing Tasks25 Aug 2022
- 2021Robust Risk-Sensitive Reinforcement Learning Agents for Trading Markets16 Jul 2021