An Effective PSO-Driven Method for Test Data Generation in Branch Coverage Software Testing
*Corresponding Author(s):
Revised: ; Submitted on ; Accepted: ;
The enhancement of software system reliability and quality through software testing is a crucial aspect of the software development lifecycle. However, traditional software testing methods often entail significant investments in time, labor, and cost. In recent times, search-based test data generation has emerged as an operational methodology for achieving this efficiency. Various approaches have been developed to generate test cases for branch coverage using meta-heuristic algorithms. Despite their effectiveness, there exists room for improvement in existing methodologies. In this research, we propose a novel search-based test data generation method for branch coverage software testing, leveraging the capabilities of Particle Swarm Optimization (PSO). To validate our approach, we conducted experiments on seven well-known software programs. Our results demonstrate that the proposed PSO-based method outperforms existing test data generation methods such as Simulated Annealing (SA), Genetic Algorithm (GA), Harmony Search (HS), Ant Colony Optimization (ACO), and Artificial Bee Colony (ABC). Specifically, our method consistently produces superior test data in significantly fewer iterations, effectively covering a greater number of branches. This research contributes to the ongoing efforts in optimizing software testing processes, emphasizing the potential of PSO in enhancing the efficiency of automated test data generation for branch coverage.
Keywords:
Cite this article
Kumar Jaiswal Updesh, Prajapati Amarjeet.
Reference
Automated software test data generation
,
A study on test coverage in software testing
, 1.
Program test data generation branch coverage with genetic algorithm: comparative evaluation of a maximization and minimization approach
,
Review of search based techniques in software testing
,
A theoretical and empirical study of search-based testing: local, global, and hybrid search
,
Harmony search-based test data generation for branch coverage in software structural testing
,
Adapting ant colony optimization to generate test data for software structural testing
,
An efficient method to generate test data for software structural testing using artificial bee colony optimization algorithm
,
A variable strength interaction test suites generation strategy using particle swarm optimization
,
A systematic review on search‐based test suite reduction: state‐of‐the‐art, taxonomy, and future directions
,
Basis path testing using SGA & HGA with ExLB fitness function
,
Evolutionary approach to generating test data for data flow test
,
Software testing with large language models: survey, landscape, and vision
.
Test case prioritization, selection, and reduction using improved quantum-behaved particle swarm optimization
,
Optimization of automated and manual software tests in industrial practice: A survey and historical analysis
.
Test‐data generation using genetic algorithms
,
Automatic test data generation for path testing using GAs.
,
Hybrid particle swarm optimization for regression testing
,
Generating test data for software structural testing based on particle swarm optimization
,
Evolutionary algorithms for path coverage test data generation and optimization: A review
, pp.
/
〈 | 〉 |