Automated machine learning for test case prioritisation

Test case prioritisation (TCP) involves ordering and selecting the most relevant test cases to verify that the current functionality of a software system remains unaffected by code changes. Recently, TCP has been addressed by machine learning (ML), predicting the failure probability of each test case. However, software engineers may struggle to identify and implement the most suitable predictive models for TCP. As new builds adapt the test suite being tested, the model performance may decline with the incorporation of these new builds. In this study, we address these challenges by applying automated workflow composition, including algorithm selection and hyperparameter optimisation. They are considered tasks within automated machine learning (AutoML). With this aim, our proposal employs grammar-guided genetic programming as the underlying mechanism for implementing the AutoML algorithm. Our experimental results demonstrate that our approach can adapt to the particularities of the system under test, selecting the most appropriate ML pipeline and hyperparameters for each build. More importantly, our approach reduces the ML knowledge required by testers—particularly regarding the selection and tuning of algorithms—while enabling them to generate pipelines suited to successive changes in SUT builds. This research showcases the potential of AutoML in software engineering, specifically for the TCP problem.

Authors

Institutions

Publication Details

Journal
Empirical Software Engineering
Published
2026-04-15
DOI
https://doi.org/10.1007/s10664-026-10862-y
Primary Topic
Software Testing and Debugging Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automated machine learning for test case prioritisation

Aurora Ramírez, Carlos García‐Martínez, José Raúl Romero
Empirical Software Engineering
Software Testing and Debugging Techniques
article

Automated machine learning for test case prioritisation

Aurora Ramírez, Carlos García‐Martínez, José Raúl Romero
article en

Abstract

Test case prioritisation (TCP) involves ordering and selecting the most relevant test cases to verify that the current functionality of a software system remains unaffected by code changes. Recently, TCP has been addressed by machine learning (ML), predicting the failure probability of each test case. However, software engineers may struggle to identify and implement the most suitable predictive models for TCP. As new builds adapt the test suite being tested, the model performance may decline with the incorporation of these new builds. In this study, we address these challenges by applying automated workflow composition, including algorithm selection and hyperparameter optimisation. They are considered tasks within automated machine learning (AutoML). With this aim, our proposal employs grammar-guided genetic programming as the underlying mechanism for implementing the AutoML algorithm. Our experimental results demonstrate that our approach can adapt to the particularities of the system under test, selecting the most appropriate ML pipeline and hyperparameters for each build. More importantly, our approach reduces the ML knowledge required by testers—particularly regarding the selection and tuning of algorithms—while enabling them to generate pipelines suited to successive changes in SUT builds. This research showcases the potential of AutoML in software engineering, specifically for the TCP problem.

Empirical Software EngineeringVol. 31(5)
University of Córdoba (ES)
Ministerio de Ciencia, Innovación y Universidades, European Commission, Agencia Estatal de Investigación
Openalex Percentile: Top 24%
Software Testing and Debugging Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.