Automatic test suite generation using bat algorithm

The Bat Algorithm (BA), inspired by the echolocation behavior of bats, has gained prominence as a promising search-based technique for global optimization. This paper explores its application in automatic test suite generation (TSG) through a creative methodology that inserts mutants in the original data and verifies correctness using mathematical constraints. It further provides a comparative analysis against three established search-based algorithms (SBAs): Genetic Algorithm (GA), Particle Swarm Optimization (PSO), and Artificial Bee Colony (ABC) algorithm. The analysis focuses on test suite size as a primary metric of the algorithm's effectiveness. Through rigorous experimentation, the performance of the Bat Algorithm has been validated in producing better results compared to the baseline algorithms. It outperformed the performance in terms of reduction in test suite size, achieving a 71.8%, 55.82%, and 18.99% reduction compared to GA, PSO, and ABC, respectively. These results highlight its potential for enhancing TSG in various domains of computer science.

Authors

Institutions

Publication Details

Journal
Intelligent Data Analysis
Published
2025-11-24
DOI
https://doi.org/10.1177/1088467x251395503
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

Automatic test suite generation using bat algorithm

Ruchika Malhotra, Shivani Pandey
Intelligent Data Analysis
Software Testing and Debugging Techniques
article

Automatic test suite generation using bat algorithm

Ruchika Malhotra, Shivani Pandey
article en

Abstract

The Bat Algorithm (BA), inspired by the echolocation behavior of bats, has gained prominence as a promising search-based technique for global optimization. This paper explores its application in automatic test suite generation (TSG) through a creative methodology that inserts mutants in the original data and verifies correctness using mathematical constraints. It further provides a comparative analysis against three established search-based algorithms (SBAs): Genetic Algorithm (GA), Particle Swarm Optimization (PSO), and Artificial Bee Colony (ABC) algorithm. The analysis focuses on test suite size as a primary metric of the algorithm's effectiveness. Through rigorous experimentation, the performance of the Bat Algorithm has been validated in producing better results compared to the baseline algorithms. It outperformed the performance in terms of reduction in test suite size, achieving a 71.8%, 55.82%, and 18.99% reduction compared to GA, PSO, and ABC, respectively. These results highlight its potential for enhancing TSG in various domains of computer science.

Intelligent Data Analysis
Delhi Technological University (IN)
Openalex Percentile: Top 63%
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.