Repetitive mutations in genetic algorithm for software test data generations

Generating test data is the most important part of dynamic software testing. One of the white box testing techniques is path coverage testing. Genetic Algorithm (GA) has proven to be an important method in generating test data for automatic path coverage testing. However, to satisfy path coverage te...

Description complète

Détails bibliographiques
Auteur principal: Kadhim, Mohammed Majid
Format: Thèse
Langue:anglais
Publié: 2022
Sujets:
Accès en ligne:https://etd.uum.edu.my/10925/1/s827647_01.pdf
https://etd.uum.edu.my/10925/
Abstract Abstract here
_version_ 1855574495920652288
author Kadhim, Mohammed Majid
author_facet Kadhim, Mohammed Majid
author_sort Kadhim, Mohammed Majid
description Generating test data is the most important part of dynamic software testing. One of the white box testing techniques is path coverage testing. Genetic Algorithm (GA) has proven to be an important method in generating test data for automatic path coverage testing. However, to satisfy path coverage testing, GA’s operation of a single mutation generates test data that covers the same path in a single generation, hence resulting in path coverage duplication, which negatively increases the number of iterations. Therefore, this study proposes a repetitive mutation for GA in order to eliminate path coverage duplication and reduce the number of iterations for test data generations in path coverage testing. The study was conducted in three phases. First, the limitations of existing mutation techniques used in GA to generate test data for path coverage testing were analysed. Then, a repetitive mutation technique for GA was designed and implemented in a numerical simulation using C++ language. Finally, the evaluation phase that compares the outcome of the proposed technique against existing studies in terms of the number of iterations for test data generations. The findings show that the proposed repetitive mutation technique outperformed the single mutation technique by reducing the number of iterations to more than 50 percent for test data generations. The study has revealed the importance of mutation in generating test data and how it can be harnessed to quickly guide GA in producing solutions. In addition, the proposed repetitive mutation in GA can contribute to developing an adaptive GA testing tool.
format Thesis
id oai:etd.uum.edu.my:10925
institution Universiti Utara Malaysia
language English
publishDate 2022
record_format EPrints
record_pdf Restricted
spelling oai:etd.uum.edu.my:109252025-08-26T03:36:11Z https://etd.uum.edu.my/10925/ Repetitive mutations in genetic algorithm for software test data generations Kadhim, Mohammed Majid T58.5-58.64 Information technology Generating test data is the most important part of dynamic software testing. One of the white box testing techniques is path coverage testing. Genetic Algorithm (GA) has proven to be an important method in generating test data for automatic path coverage testing. However, to satisfy path coverage testing, GA’s operation of a single mutation generates test data that covers the same path in a single generation, hence resulting in path coverage duplication, which negatively increases the number of iterations. Therefore, this study proposes a repetitive mutation for GA in order to eliminate path coverage duplication and reduce the number of iterations for test data generations in path coverage testing. The study was conducted in three phases. First, the limitations of existing mutation techniques used in GA to generate test data for path coverage testing were analysed. Then, a repetitive mutation technique for GA was designed and implemented in a numerical simulation using C++ language. Finally, the evaluation phase that compares the outcome of the proposed technique against existing studies in terms of the number of iterations for test data generations. The findings show that the proposed repetitive mutation technique outperformed the single mutation technique by reducing the number of iterations to more than 50 percent for test data generations. The study has revealed the importance of mutation in generating test data and how it can be harnessed to quickly guide GA in producing solutions. In addition, the proposed repetitive mutation in GA can contribute to developing an adaptive GA testing tool. 2022 Thesis NonPeerReviewed text en https://etd.uum.edu.my/10925/1/s827647_01.pdf Kadhim, Mohammed Majid (2022) Repetitive mutations in genetic algorithm for software test data generations. Masters thesis, Universiti Utara Malaysia.
spellingShingle T58.5-58.64 Information technology
Kadhim, Mohammed Majid
Repetitive mutations in genetic algorithm for software test data generations
thesis_level Master
title Repetitive mutations in genetic algorithm for software test data generations
title_full Repetitive mutations in genetic algorithm for software test data generations
title_fullStr Repetitive mutations in genetic algorithm for software test data generations
title_full_unstemmed Repetitive mutations in genetic algorithm for software test data generations
title_short Repetitive mutations in genetic algorithm for software test data generations
title_sort repetitive mutations in genetic algorithm for software test data generations
topic T58.5-58.64 Information technology
url https://etd.uum.edu.my/10925/1/s827647_01.pdf
https://etd.uum.edu.my/10925/
work_keys_str_mv AT kadhimmohammedmajid repetitivemutationsingeneticalgorithmforsoftwaretestdatagenerations