AI Based Test Case Generation
Authors
Information Science and Engineering, Dayananada Sagar College of Engineering, Bengaluru (India)
Information Science and Engineering, Dayananada Sagar College of Engineering, Bengaluru (India)
Information Science and Engineering, Dayananada Sagar College of Engineering, Bengaluru (India)
Information Science and Engineering, Dayananada Sagar College of Engineering, Bengaluru (India)
Information Science and Engineering, Dayananada Sagar College of Engineering, Bengaluru (India)
Article Information
DOI: 10.51583/IJLTEMAS.2026.151100034
Subject Category: Software Engineering and Artificial Intelligence
Volume/Issue: 15/11 | Page No: 465-475
Publication Timeline
Submitted: 2026-10-27
Accepted: 2026-11-01
Published: 2026-11-24
Abstract
AI-Based Test Case Generation is an automated system that generates black-box test cases directly from Software Requirement Specification (SRS) documents. The objective of the system is to reduce manual effort, testing time, and human errors while improving scalability and consistency in software quality assurance. By leveraging natural language processing and large language models (LLMs), the system converts unstructured requirements into structured, exportable test cases.
The proposed solution follows an AI-driven, event-based distributed architecture comprising a React/Next.js frontend, FastAPI backend, Apache Kafka message broker, AI worker services, PostgreSQL database, and S3-based file storage. The workflow includes document upload, asynchronous job processing, message queuing, and test case generation by AI workers, with outputs stored in a structured JSON format.
Experimental results demonstrate a significant reduction in manual QA workload and consistent test coverage. The scalable microservices architecture supports concurrent processing, making the system suitable for modern automated testing environments.
Keywords
AI-Based Testing, Test Case Generation, Software Requirement Specification, Black-Box Testing, Quality Assurance Automation, Large Language Models, Microservices Architecture
This article is licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0).
Downloads
References
1. W. Wang, Y. Huang, Z. Zhao, and L. Li, “TESTEVAL: Benchmarking Large Language Models for Test Case Generation,” in Findings of the Association for Computational Linguistics: NAACL 2025, 2025. DOI: 10.18653/v1/2025.findings-naacl.197. [Google Scholar] [Crossref]
2. S. Liu, Y. Zhou, and F. Chen, “PyTester: Deep Reinforcement Learning for Text-to-Testcase Generation in Python,” IEEE Transactions on Software Engineering, vol. 51, no. 4, pp. 1123–1137, 2025. DOI: 10.1016/j.infsof.2025.107721 [Google Scholar] [Crossref]
3. H. Taherkhani and H. Hemmati, “VALTEST: Automated Validation of Language Model Generated Test Cases,” arXiv preprint, arXiv:2411.08254, 2024. DOI: 10.48550/arXiv.2411.08254 [Google Scholar] [Crossref]
4. L. Shen, C. Zhou, and T. Xu, “TestART: Improving LLM-Based Unit Testing via Co-evolution of Automated Generation and Repair Iteration,” IEEE Access, vol. 12, pp. 52341–52355, 2024. DOI: 10.48550/arXiv.2408.03095 [Google Scholar] [Crossref]
5. M. Kechaqlia, A. K. Das, and P. K. Gupta, “Automated Test Generation Using Machine Learning: A Survey,” ACM Computing Surveys, vol. 56, no. 8, 2024. [Google Scholar] [Crossref]
6. M. Sharma, K. Patel, and P. Rai, “AI-Based Automotive Test Case Generation: An Industrial Case Study,” in Proc. IEEE International Conference on Artificial Intelligence and Industrial Systems (AIIIS), 2024, pp. 210–219. [Google Scholar] [Crossref]
7. X. Zhang, H. Wang, and J. Zhao, “Reinforcement Learning from Automated Feedback for High-Quality Unit Test Generation,” Information and Software Technology, vol. 163, art. 107336, 2024. [Google Scholar] [Crossref]
8. H. Wen, Z. Li, and T. Chen, “AT3Test: Assertion-Statement-Oriented Automated Test Case Generation,” IEEE Transactions on Reliability, vol. 72, no. 6, pp. 1458–1473, 2023. DOI: 10.1016/j.infsof.2024.107565 [Google Scholar] [Crossref]
9. Y. Tufano, M. White, M. Martinez, and D. Poshyvanyk, “Unit Test Case Generation with Transformers and Focus Context,” Empirical Software Engineering, vol. 27, no. 4, art. 82, 2022. DOI: 10.48550/arXiv.2009.05617 [Google Scholar] [Crossref]
10. S. Gupta and V. Rao, “AI-Driven Software Testing: Leveraging NLP and Deep Learning for Test Generation,” International Journal of Software Engineering and Applications (IJSEA), vol. 13, no. 2, pp. 33–45, 2022. [Google Scholar] [Crossref]
This work is licensed under CC BY 4.0