Test Case Prioritization Using Ant Colony Optimization to Improve Fault Detection and Time

Regression testing plays a critical role in ensuring the reliability and quality of software following continuous integration and development. However, executing all test cases during regression testing can be time-consuming and resource-intensive. Test Case Prioritization (TCP) addresses this challenge by determining an optimal execution order of test cases that maximizes early fault detection while minimizing execution time. Optimization algorithms contribute significantly to enhancing the effectiveness of TCP while utilizing limited resources. This study proposes an Ant Colony Optimization (ACO) algorithm to address the TCP problem, leveraging its strength in navigating complex search spaces inspired by the foraging behavior of real ant colonies. It involves four phases: dataset selection, dataset conversion, algorithm implementation, and performance evaluation. ACO was implemented and evaluated on two datasets (Case Study One and Case Study Two) of differing sizes and complexity. The results demonstrate its potential to improve testing efficiency and effectiveness with limited resources using the Average Percentage Fault Detected (APFD) and execution time. Case Study One, which involved a larger dataset, achieved a higher APFD (0.6911), but required more iterations and execution time (0.3733 s). In contrast, Case Study Two, with fewer test cases and faults, demonstrated a faster convergence and execution time (0.2596 s), with a slightly lower APFD (0.6700). These findings demonstrate a trade-off between early fault detection and execution efficiency, indicating that dataset characteristics such as size and fault density influence the performance of the algorithm.

Authors

Institutions

Publication Details

Journal
Journal of Informatics and Web Engineering
Published
2026-02-14
DOI
https://doi.org/10.33093/jiwe.2026.5.1.19
Primary Topic
Software Testing and Debugging Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Test Case Prioritization Using Ant Colony Optimization to Improve Fault Detection and Time

Ammar Alazab, Nur Liyana Sulaiman, Nurezayana Zainal, Muhammad Sh Salleh et al.
Journal of Informatics and Web Engineering
Software Testing and Debugging Techniques
article

Test Case Prioritization Using Ant Colony Optimization to Improve Fault Detection and Time

Ammar Alazab, Nur Liyana Sulaiman, Nurezayana Zainal, Muhammad Sh Salleh, Nur Atiqah Wahidah Sulaiman
article en

Abstract

Regression testing plays a critical role in ensuring the reliability and quality of software following continuous integration and development. However, executing all test cases during regression testing can be time-consuming and resource-intensive. Test Case Prioritization (TCP) addresses this challenge by determining an optimal execution order of test cases that maximizes early fault detection while minimizing execution time. Optimization algorithms contribute significantly to enhancing the effectiveness of TCP while utilizing limited resources. This study proposes an Ant Colony Optimization (ACO) algorithm to address the TCP problem, leveraging its strength in navigating complex search spaces inspired by the foraging behavior of real ant colonies. It involves four phases: dataset selection, dataset conversion, algorithm implementation, and performance evaluation. ACO was implemented and evaluated on two datasets (Case Study One and Case Study Two) of differing sizes and complexity. The results demonstrate its potential to improve testing efficiency and effectiveness with limited resources using the Average Percentage Fault Detected (APFD) and execution time. Case Study One, which involved a larger dataset, achieved a higher APFD (0.6911), but required more iterations and execution time (0.3733 s). In contrast, Case Study Two, with fewer test cases and faults, demonstrated a faster convergence and execution time (0.2596 s), with a slightly lower APFD (0.6700). These findings demonstrate a trade-off between early fault detection and execution efficiency, indicating that dataset characteristics such as size and fault density influence the performance of the algorithm.

Journal of Informatics and Web EngineeringVol. 1(5)
Torrens University Australia (AU), Tun Hussein Onn University of Malaysia (MY)
Decent work and economic growth
Openalex Percentile: Top 54%
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.