Abstract
Quality of test cases is determined by their ability to uncover as many errors as possible in the software code. In our approach, we applied Hybrid Genetic Algorithm (HGA) for improving the quality of test cases. This improvement can be achieved by analyzing both mutation score and path coverage of each test case. Our approach selects effective test cases that have higher mutation score and path coverage from a near infinite number of test cases. Hence, the final test set size is reduced which in turn reduces the total time needed in testing activity. In our proposed framework, we included two improvement heuristics, namely RemoveTop and LocalBest, to achieve near global optimal solution. Finally, we compared the efficiency of the test cases generated by our approach against the existing test case optimization approaches such as Simple Genetic Algorithm (SGA) and Bacteriologic Algorithm (BA) and concluded that our approach generates better quality test cases.
Keywords
- Software under test (SUT)
- software test optimization
- genetic algorithm (GA)
- hybrid genetic algorithm (HGA)
- bacteriologic algorithm (BA)
- mutation score
- path coverage
MSC
68N30
Cite this article
@article{cai-1878,
author = {Dharmalingam Jeya Mala and Elizabeth Ruby and Vasudev Mohan},
title = {A Hybrid Test Optimization Framework -- Coupling Genetic Algorithm with Local Search Technique},
journal = {Computing and Informatics},
volume = {29},
number = {1},
pages = {133--164},
year = {2010},
issn = {1335-9150},
url = {https://cai.type.sk/content/2010/1/a-hybrid-test-optimization-framework-coupling-genetic-algorithm-with-local-search-technique/}
}
TY - JOUR AU - Dharmalingam Jeya Mala AU - Elizabeth Ruby AU - Vasudev Mohan TI - A Hybrid Test Optimization Framework – Coupling Genetic Algorithm with Local Search Technique JO - Computing and Informatics VL - 29 IS - 1 SP - 133 EP - 164 PY - 2010 SN - 1335-9150 UR - https://cai.type.sk/content/2010/1/a-hybrid-test-optimization-framework-coupling-genetic-algorithm-with-local-search-technique/ KW - Software under test (SUT) KW - software test optimization KW - genetic algorithm (GA) KW - hybrid genetic algorithm (HGA) KW - bacteriologic algorithm (BA) KW - mutation score KW - path coverage ER -
Mala, D. J., Ruby, E., & Mohan, V. (2010). A Hybrid Test Optimization Framework – Coupling Genetic Algorithm with Local Search Technique. Computing and Informatics, 29(1), 133–164. https://cai.type.sk/content/2010/1/a-hybrid-test-optimization-framework-coupling-genetic-algorithm-with-local-search-technique/