Design a Tool for Generating Test Cases using Swarm Intelligence

Section: Research Paper
Published
Jun 25, 2025
Pages
421-444

Abstract

In this research, the tools and techniques of artificial intelligence were studied and employed in software engineering. And that was conducted through using the Particle Swarm Optimization PSO and Cat Swarm Optimization CSO in generating optimal test cases of the software written with C++ language in an automatic way because that enables the corporation which develops the program to save time and costs as well as ensuring the test process quality, which is estimated by 50% of the product cost. In this research, the software engineering tool Generate Test Suite GTS TOOL was constructed and modeled with the aid of the computer, which is used to generate optimal test cases automatically and this tool also support the drawing of the control flowgraphs and paths inside the program and tests each path using CSO and PSO. The proposed tool succeeded in generating optimal test cases for several programs and in a very short time. The average of generating the test cases using PSO was 4 minutes and 1.2 minutes for CSO. Where the performance of the CSO was much better than the performance of PSO.

Identifiers

Download this PDF file

Statistics

How to Cite

I. Khaleel, S., شهباء, Abdulmunim Al Thanoon, A., & أشرف. (2025). Design a Tool for Generating Test Cases using Swarm Intelligence. AL-Rafidain Journal of Computer Sciences and Mathematics, 10(1), 421–444. Retrieved from https://rjps.uomosul.edu.iq/index.php/csmj/article/view/19536