arrow
Return

Machine Learning Models for Intelligent Test Case Selection

delete2026-01-01
delete0
PRE
AI
Y
Yousof Darwish
M
Mohammed Al-Refai *
A
Alzubi, Ahmed
DOI:10.1007/978-3-031-97657-5_23delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Regression testing is running test cases after every code change, ensuring that there are no intended breaks in the changes. This study explores the application of machine learning for intelligent test case selection, aiming to reduce testing effort while maintaining test effectiveness. Using a dataset of test case features extracted from commits within the Apache Commons Collections project, we investigated the performance of four classification models: Logistic Regression, Random Forest, Support Vector Classifier (SVC), and Gradient Boosting. Test case selection labels were generated using Ekstazi, a regression test selection technique, to indicate whether a test case would be selected or not. The models were trained and evaluated using a group-based split strategy based on commit hashes to ensure realistic performance estimates that match what is expected in production. Evaluation metrics included accuracy, precision, recall, F1 score, AUC-ROC, and Regression Test Selection (RTS) metrics like safety violation, precision violation, and test suite reduction. The results indicate that Gradient Boosting achieved a favorable balance between test suite reduction and risk mitigation, offering a promising approach for automated test case selection within the context of regression testing. This work highlights the potential of machine learning to replicate and potentially outperform established techniques such as Ekstazi to optimize software testing processes and improve overall development efficiency.
Keywords:
Regression test selection
Java software systems
Ekstazi
Static and dynamic analysis
Machine learning

Journal

C
COMPUTATIONAL SCIENCE AND ITS APPLICATIONS-ICCSA 2025 WORKSHOPS, PT XIII
IF:
0
Papers:
27
Citations:
0

Organization

J
jordan university of science & technology
Scholars:
629
Papers: 262
Citations: 0
Cited Papers

Cited Papers

Regression test selection for Java software
err2001-10-01
err0
PREAI
errMary Jean Harrold; James A. Jones; Tongyu Li; Donglin Liang; Alessandro Orso; Maikel Pennings; Saurabh Sinha; S. Alexander Spoon; Ashish Gujarathi
errShare
errSave
SMOTE: Synthetic Minority Over-sampling Technique
err2002-06-01
err0
errOAAI
errN. V. Chawla; K. W. Bowyer; L. O. Hall; W. P. Kegelmeyer
errShare
errSave