mlsanityData to 14 Oct 2026

Reinforcement Learning for Automatic Test Case Prioritization and Selection in Continuous Integration

arXiv 1811.04122 ↗First posted 9 Nov 2018cs.SE cs.AI cs.NEcited by 17

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

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 2; 2022: 5; 2023: 1; 2024: 2; 2025: 2; 2026: 5.

17 papers.

Sort:

By area:

  1. 2022BAFFLE: Hiding Backdoors in Offline Reinforcement Learning Datasetscited by 25
  2. 2021DeepOrder: Deep Learning for Test Case Prioritization in Continuous Integration Testingcited by 8
  3. 2024Systematic Literature Review on Application of Learning-based Approaches in Continuous Integrationcited by 6
  4. 2022TEP-GNN: Accurate Execution Time Prediction of Functional Tests using Graph Neural Networkscited by 5
  5. 2022A Comparison of Reinforcement Learning Frameworks for Software Testing Taskscited by 3
  6. 2022A Taxonomy of Information Attributes for Test Case Prioritisation: Applicability, Machine Learningcited by 2
  7. 2023Systematic Literature Review on Application of Machine Learning in Continuous Integrationcited by 2
  8. 2022Artificial Intelligence in Software Testing : Impact, Problems, Challenges and Prospectcited by 1
  9. 2024GUI Test Migration via Abstraction and Concretizationcited by 1
  10. 2025Reinforcement Learning for Automated Cybersecurity Penetration Testingcited by 1
  11. 2025Targeted Test Selection Approach in Continuous Integrationcited by 1
  12. 2021Machine Learning Techniques for Software Quality Assurance: A Surveycited by 0
5 more
  1. 2026Reinforcement Learning for Dynamic Workflow Optimization in CI/CD Pipelinescited by 0
  2. 2026Test Case Prioritization: A Snowballing Literature Review and TCPFramework with Approach Combinatorscited by 0
  3. 2026AINTMA: Agentic AI Architecture for Autonomous Test Management with Generative Intelligence, Secure Cloud Communication and Adaptive Quality Analyticscited by 0
  4. 2026Trajectory-Aware Benchmark Subset Selection for Cost-Efficient Software Engineering Agent Regression Testingcited by 0
  5. 2026FastCI: Efficient GPU-Intensive CI for LLM Training Frameworkscited by 0