An Effective GRU-Based Deep Learning Method for Test Case Prioritization in Continuous Integration Testing

Continuous integrating (CI) testing is a key element in today’s software development process, where automated testing of code changes occurs frequently. Test Case Prioritization (TCP) is a strategy aimed at boosting the performance of CI testing by choosing specific test cases that have a strong likelihood of detecting defects early in each cycle. Since CI testing generates a substantial volume of test execution data, the use of historical test data has become a common strategy in prioritizing test cases. However, many existing methods for test prioritization in CI face challenges: they may struggle with managing extensive test histories, involve numerous parameters that slow down the training process, or being improved for only a few sort of past test cycles. Such limitations can reduce the effectiveness of fault detection in prioritized test suites. In this research work, we developed a Gated Recurrent Unit-driven deep learning (GRU-driven deep learning) model that leverages the principles of regression to prioritize test cases using historical execution data across multiple test cycles. The GRU model learns to identify failed test cases by considering various factors including distance, duration, change in status, last run. The proposed GRU- based deep learning model is evaluated based on two key metrics i.e. time effectiveness and fault effectiveness when compared to some advanced approaches. The efficiency of the suggested methodology was extensively validated through experimentation on two separate datasets named as paint_ control and IOF/ROL. The experimental findings reveal that the GRU-based deep learning model achieves Total Algorithm Running Time (TT) values of 0.02 seconds and 0.01 seconds, along with APFD values of 0.77 and 0.70 regarding the paint_control and IOF/ROL datasets, respectively. These outcomes are notably lower than those obtained by other advanced existing models. It is evident from the result analysis that GRU model outperforms state-of-the-art test prioritization framework based on these two key metrics, and it can efficiently handle large datasets.

Authors

Institutions

Publication Details

Journal
Procedia Computer Science
Published
2025-01-01
DOI
https://doi.org/10.1016/j.procs.2025.04.658
Citations
2
Primary Topic
Software Testing and Debugging Techniques
Type
article
Field-Weighted Citation Impact
4.62
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An Effective GRU-Based Deep Learning Method for Test Case Prioritization in Continuous Integration Testing

Aishwaryarani Behera, Arup Abhinna Acharya
2 citations
Procedia Computer Science
Software Testing and Debugging Techniques
4.62
article

An Effective GRU-Based Deep Learning Method for Test Case Prioritization in Continuous Integration Testing

Aishwaryarani Behera, Arup Abhinna Acharya
article en
2 citations

Abstract

Continuous integrating (CI) testing is a key element in today’s software development process, where automated testing of code changes occurs frequently. Test Case Prioritization (TCP) is a strategy aimed at boosting the performance of CI testing by choosing specific test cases that have a strong likelihood of detecting defects early in each cycle. Since CI testing generates a substantial volume of test execution data, the use of historical test data has become a common strategy in prioritizing test cases. However, many existing methods for test prioritization in CI face challenges: they may struggle with managing extensive test histories, involve numerous parameters that slow down the training process, or being improved for only a few sort of past test cycles. Such limitations can reduce the effectiveness of fault detection in prioritized test suites. In this research work, we developed a Gated Recurrent Unit-driven deep learning (GRU-driven deep learning) model that leverages the principles of regression to prioritize test cases using historical execution data across multiple test cycles. The GRU model learns to identify failed test cases by considering various factors including distance, duration, change in status, last run. The proposed GRU- based deep learning model is evaluated based on two key metrics i.e. time effectiveness and fault effectiveness when compared to some advanced approaches. The efficiency of the suggested methodology was extensively validated through experimentation on two separate datasets named as paint_ control and IOF/ROL. The experimental findings reveal that the GRU-based deep learning model achieves Total Algorithm Running Time (TT) values of 0.02 seconds and 0.01 seconds, along with APFD values of 0.77 and 0.70 regarding the paint_control and IOF/ROL datasets, respectively. These outcomes are notably lower than those obtained by other advanced existing models. It is evident from the result analysis that GRU model outperforms state-of-the-art test prioritization framework based on these two key metrics, and it can efficiently handle large datasets.

Procedia Computer ScienceVol. 258
KIIT University (IN)
Openalex Percentile: Top 7%
Software Testing and Debugging Techniques
4.62
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.