arrow
Return

Automatic test suite generation using bat algorithm

delete2025-11-01
delete0
PRE
AI
R
Ruchika Malhotra
S
Shivani Pandey *
DOI:10.1177/1088467X251395503delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
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.
Keywords:
Bat algorithm
search-based algorithm
automated test suite generation
global optimization
echolocation
adequate test suite
Optimized test suites for automated testing using different optimization techniques
err2017-08-18
err33
PREAI
errKhari, Manju; Kumar, Prabhat; Burgos, Daniel; Gonzalez Crespo, Ruben
errShare
errSave
An empirical evaluation of evolutionary algorithms for unit test suite generation
err2018-12-01
err68
errOAAI
errCampos, Jose; Ge, Yan; Albunian, Nasser; Fraser, Gordon; Eler, Marcelo; Arcuri, Andrea
errShare
errSave
Adequate vs. inadequate test suite reduction approaches
err2020-03-01
err10
PREAI
errCoviello, Carmen; Romano, Simone; Scanniello, Giuseppe; Marchetto, Alessandro; Corazza, Anna; Antoniol, Giuliano
errShare
errSave
errShare
errSave
errShare
errSave

Journal

I
Intelligent Data Analysis
IF:
0.8
Papers:
72
Citations:
1.3K

Organization

D
delhi technological university
Scholars:
160
Papers: 81
Citations: 1.3K
Cited Papers

Cited Papers

Search-Based Software Testing Driven by Bioinspired Algorithms: A Systematic Literature Mapping
err2024-10-28
err0
PREAI
errHernández-Suárez,Joshua E.; Jiménez-Jiménez,Mario A.; Domínguez-Isidro,Saúl; Ocharán-Hernández,Jorge Octavio
errShare
errSave
Modified Bat Algorithm: a newly proposed approach for solving complex and real-world problems
err2024-07-05
err0
PREAI
errShahla U. Umar; Tarik A. Rashid; Aram M. Ahmed; Bryar A. Hassan; Mohammed Rashad Baker
errShare
errSave
Path-oriented test cases generation based adaptive genetic algorithm
err2017-11-14
err0
errOAAI
errXiaoan Bao; Zijian Xiong; Na Zhang; Junyan Qian; Biao Wu; Wei Zhang
errShare
errSave
A Hybrid Artificial Bee Colony Strategy for t-way Test Set Generation with Constraints Support
err2020-04-01
err0
PREAI
errAlazzawi,Ammar K; Rais,Helmi Md; Basri,Shuib; Alsariera,Yazan A.; Balogun,Abdullateef Oluwagbemiga; Imam,Abdullahi Abubakar
errShare
errSave
A systematic review on search‐based test suite reduction: State‐of‐the‐art, taxonomy, and future directions
err2023-04-01
err0
PREAI
errHabib,Amir Sohail; Khan,Saif Ur Rehman; Felix,Ebubeogu Amarachukwu
errShare
errSave
researcher View more