Publiora

Menghubungkan ke Publiora...

Publiora

Comparative analysis of genetic algorithms for automated test case generation to support software quality

Hadiningrum, Tiara RahmaniaRochimah, Siti
IAES International Journal of Artificial Intelligence (IJ-AI) (Sinta 1)Vol. 0 No. 01 Februari 2025
DOI10.11591/ijai.v14.i1.pp252-259

Abstrak

Software testing is crucial for enhancing software quality, but designing test cases is a labor-intensive, resource-intensive, and time-consuming process. Additionally, test case designers often introduce subjectivity when creating test cases manually. To address these challenges, this paper compares three different approaches for automatically generating program branch coverage test cases: the parallel data generation algorithm (PDGA), a standard genetic algorithm (SGA), and a random test generation method. By leveraging genetic algorithms and parallel data generation techniques, these automated approaches aim to reduce the manual effort, resources, and potential biases involved in test case design, while improving the efficiency and effectiveness of achieving comprehensive branch coverage during software testing. The experimental results, conducted using five datasets with programs written in PHP, demonstrate that PDGA outperforms both SGA and random methods across various tested programs, achieving higher maximum and average coverage. Specifically, PDGA achieved an average coverage of 100% in the "calculator" program, highlighting its superior stability and efficiency. While SGA also shows good performance, it is not as optimal as PDGA, and the random method shows the lowest performance among the three. These findings underscore the potential of genetic algorithms, particularly PDGA, to enhance the coverage and quality of software testing, thereby significantly improving system reliability.

Kata Kunci

Genetic AlgorithmAutomatic generation test casesGenetic algorithmsSoftware quality assuranceSoftware testingTest case generation

Cari jurnal yang tepat untuk naskah Anda

MatchMind AI mencocokkan abstrak naskah Anda dengan ribuan jurnal terakreditasi dan menampilkan rekomendasi terbaik beserta alasannya.

Coba MatchMind

Lihat profil lengkap jurnal ini

Waktu review, biaya APC, statistik sitasi, indeksasi Scopus, dan banyak lagi.

Buka IAES International Journal of Artificial Intelligence (IJ-AI)

Artikel ini juga tersedia di situs resmi jurnal.

Comparative analysis of genetic algorithms for automated test case generation to support software quality | IAES International Journal of Artificial Intelligence (IJ-AI) | Publiora