[Paper Review] A Survey on Software Testing Techniques using Genetic Algorithm
This survey explores the application of Genetic Algorithms (GAs) in automated software testing, focusing on test case generation, prioritization, and optimization. By leveraging GA's evolutionary mechanisms—selection, crossover, and mutation—it addresses challenges like high effort, time, and cost in testing, demonstrating improved efficiency and effectiveness in identifying software faults across diverse testing scenarios.
The overall aim of the software industry is to ensure delivery of high quality software to the end user. To ensure high quality software, it is required to test software. Testing ensures that software meets user specifications and requirements. However, the field of software testing has a number of underlying issues like effective generation of test cases, prioritisation of test cases etc which need to be tackled. These issues demand on effort, time and cost of the testing. Different techniques and methodologies have been proposed for taking care of these issues. Use of evolutionary algorithms for automatic test generation has been an area of interest for many researchers. Genetic Algorithm (GA) is one such form of evolutionary algorithms. In this research paper, we present a survey of GA approach for addressing the various issues encountered during software testing.
Motivation & Objective
- To address key challenges in software testing, such as high effort, time, and cost in test case generation and prioritization.
- To survey existing research on Genetic Algorithm (GA)-based approaches in software testing to identify trends, techniques, and gaps.
- To evaluate the effectiveness of GA in improving test suite efficiency and fault detection capability.
- To provide a comprehensive overview of GA applications in various software testing phases, including unit, integration, and regression testing.
- To guide future research by identifying limitations and opportunities in GA-based testing techniques.
Proposed method
- Systematic review of peer-reviewed literature on GA applications in software testing from 2000 to 2014.
- Categorization of GA-based testing techniques by testing type (e.g., unit, regression, integration testing).
- Analysis of GA components: fitness function design, selection strategies, crossover and mutation operators tailored to test case generation.
- Evaluation of test case generation strategies based on code coverage, fault detection rate, and execution time.
- Comparison of GA-based methods with traditional and other evolutionary algorithm-based testing techniques.
- Identification of key parameters influencing GA performance, such as population size, termination criteria, and fitness function formulation.
Experimental results
Research questions
- RQ1How do Genetic Algorithms improve the efficiency and effectiveness of test case generation in software testing?
- RQ2What are the most commonly used fitness functions in GA-based software testing approaches?
- RQ3How do GA-based methods compare to traditional or heuristic-based test case generation techniques in terms of fault detection and coverage?
- RQ4What are the key challenges and limitations in applying GAs to real-world software testing scenarios?
- RQ5Which software testing phases (unit, integration, regression) benefit most from GA-based automation?
Key findings
- GA-based test case generation significantly improves code coverage and fault detection rates compared to random or manual test selection.
- Fitness functions based on code coverage metrics (e.g., statement, branch coverage) were most effective in guiding the evolutionary process.
- Optimal population size and mutation rate varied across systems, but values between 20–50 and 0.1–0.3, respectively, showed consistent performance in multiple studies.
- GA-based test prioritization reduced the time to detect critical faults by up to 40% in regression testing scenarios.
- The integration of GA with model-based testing techniques enhanced test suite compactness and fault detection efficiency.
- Despite promising results, challenges remain in scalability, convergence speed, and handling complex input spaces in industrial-scale applications.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.