Reinforcement Learning for Automatic Test Case Prioritization and Selection in Continuous Integration
Not on the map. Why?
Abstract (arXiv)
Testing in Continuous Integration (CI) involves test case prioritization, selection, and execution at each cycle. Selecting the most promising test cases to detect bugs is hard if there are uncertainties on the impact of committed code changes or, if traceability links between code and tests are not available. This paper introduces Retecs, a new method for automatically learning test case selection and prioritization in CI with the goal to minimize the round-trip time between code commits and developer feedback on failed test cases. The Retecs method uses reinforcement learning to select and prioritize test cases according to their duration, previous last execution and failure history. In a constantly changing environment, where new test cases are created and obsolete test cases are deleted, the Retecs method learns to prioritize error-prone test cases higher under guidance of a reward function and by observing previous CI cycles. By applying Retecs on data extracted from three industrial case studies, we show for the first time that reinforcement learning enables fruitful automatic adaptive test case selection and prioritization in CI and regression testing.
Key facts. Cited by 17 papers in the map (data through 14 Oct 2026). First posted on arXiv 9 Nov 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 5; 2023: 1; 2024: 2; 2025: 2; 2026: 5.
17 papers.
Sort:
By area:
- 2022BAFFLE: Hiding Backdoors in Offline Reinforcement Learning Datasetscited by 25
- 2021DeepOrder: Deep Learning for Test Case Prioritization in Continuous Integration Testingcited by 8
- 2024Systematic Literature Review on Application of Learning-based Approaches in Continuous Integrationcited by 6
- 2022TEP-GNN: Accurate Execution Time Prediction of Functional Tests using Graph Neural Networkscited by 5
- 2022A Comparison of Reinforcement Learning Frameworks for Software Testing Taskscited by 3
- 2022A Taxonomy of Information Attributes for Test Case Prioritisation: Applicability, Machine Learningcited by 2
- 2023Systematic Literature Review on Application of Machine Learning in Continuous Integrationcited by 2
- 2022Artificial Intelligence in Software Testing : Impact, Problems, Challenges and Prospectcited by 1
- 2024GUI Test Migration via Abstraction and Concretizationcited by 1
- 2025Reinforcement Learning for Automated Cybersecurity Penetration Testingcited by 1
- 2025Targeted Test Selection Approach in Continuous Integrationcited by 1
- 2021Machine Learning Techniques for Software Quality Assurance: A Surveycited by 0
5 more
- 2026Reinforcement Learning for Dynamic Workflow Optimization in CI/CD Pipelinescited by 0
- 2026Test Case Prioritization: A Snowballing Literature Review and TCPFramework with Approach Combinatorscited by 0
- 2026AINTMA: Agentic AI Architecture for Autonomous Test Management with Generative Intelligence, Secure Cloud Communication and Adaptive Quality Analyticscited by 0
- 2026Trajectory-Aware Benchmark Subset Selection for Cost-Efficient Software Engineering Agent Regression Testingcited by 0
- 2026FastCI: Efficient GPU-Intensive CI for LLM Training Frameworkscited by 0
- 2026FastCI: Efficient GPU-Intensive CI for LLM Training Frameworks1 Oct 2026
- 2026Trajectory-Aware Benchmark Subset Selection for Cost-Efficient Software Engineering Agent Regression Testing21 Sep 2026
- 2026AINTMA: Agentic AI Architecture for Autonomous Test Management with Generative Intelligence, Secure Cloud Communication and Adaptive Quality Analytics14 May 2026
- 2026Test Case Prioritization: A Snowballing Literature Review and TCPFramework with Approach Combinators26 Feb 2026
- 2026Reinforcement Learning for Dynamic Workflow Optimization in CI/CD Pipelines15 Jan 2026
- 2025Targeted Test Selection Approach in Continuous Integration12 Sep 2025
- 2025Reinforcement Learning for Automated Cybersecurity Penetration Testing30 Jun 2025
- 2024GUI Test Migration via Abstraction and Concretization8 Sep 2024
- 2024Systematic Literature Review on Application of Learning-based Approaches in Continuous Integration28 Jun 2024
- 2023Systematic Literature Review on Application of Machine Learning in Continuous Integration22 May 2023
- 2022BAFFLE: Hiding Backdoors in Offline Reinforcement Learning Datasets7 Oct 2022
- 2022A Comparison of Reinforcement Learning Frameworks for Software Testing Tasks25 Aug 2022
5 more
- 2022TEP-GNN: Accurate Execution Time Prediction of Functional Tests using Graph Neural Networks25 Aug 2022
- 2022A Taxonomy of Information Attributes for Test Case Prioritisation: Applicability, Machine Learning16 Jan 2022
- 2022Artificial Intelligence in Software Testing : Impact, Problems, Challenges and Prospect14 Jan 2022
- 2021DeepOrder: Deep Learning for Test Case Prioritization in Continuous Integration Testing14 Oct 2021
- 2021Machine Learning Techniques for Software Quality Assurance: A Survey29 Apr 2021
- 2021DeepOrder: Deep Learning for Test Case Prioritization in Continuous Integration Testingcited by 8
- 2024Systematic Literature Review on Application of Learning-based Approaches in Continuous Integrationcited by 6
- 2022TEP-GNN: Accurate Execution Time Prediction of Functional Tests using Graph Neural Networkscited by 5
- 2022A Comparison of Reinforcement Learning Frameworks for Software Testing Taskscited by 3
- 2022A Taxonomy of Information Attributes for Test Case Prioritisation: Applicability, Machine Learningcited by 2
- 2023Systematic Literature Review on Application of Machine Learning in Continuous Integrationcited by 2
- 2022Artificial Intelligence in Software Testing : Impact, Problems, Challenges and Prospectcited by 1
- 2024GUI Test Migration via Abstraction and Concretizationcited by 1
- 2025Targeted Test Selection Approach in Continuous Integrationcited by 1
- 2021Machine Learning Techniques for Software Quality Assurance: A Surveycited by 0
- 2026Test Case Prioritization: A Snowballing Literature Review and TCPFramework with Approach Combinatorscited by 0
- 2026FastCI: Efficient GPU-Intensive CI for LLM Training Frameworkscited by 0
- 2026FastCI: Efficient GPU-Intensive CI for LLM Training Frameworks1 Oct 2026
- 2026Test Case Prioritization: A Snowballing Literature Review and TCPFramework with Approach Combinators26 Feb 2026
- 2025Targeted Test Selection Approach in Continuous Integration12 Sep 2025
- 2024GUI Test Migration via Abstraction and Concretization8 Sep 2024
- 2024Systematic Literature Review on Application of Learning-based Approaches in Continuous Integration28 Jun 2024
- 2023Systematic Literature Review on Application of Machine Learning in Continuous Integration22 May 2023
- 2022A Comparison of Reinforcement Learning Frameworks for Software Testing Tasks25 Aug 2022
- 2022TEP-GNN: Accurate Execution Time Prediction of Functional Tests using Graph Neural Networks25 Aug 2022
- 2022A Taxonomy of Information Attributes for Test Case Prioritisation: Applicability, Machine Learning16 Jan 2022
- 2022Artificial Intelligence in Software Testing : Impact, Problems, Challenges and Prospect14 Jan 2022
- 2021DeepOrder: Deep Learning for Test Case Prioritization in Continuous Integration Testing14 Oct 2021
- 2021Machine Learning Techniques for Software Quality Assurance: A Survey29 Apr 2021