Enhancing Road Safety: A Driver Fatigue Detection and Behaviour Monitoring System using Advanced Computer Vision Techniques
Volume-6 | Issue-2

Indian Machinery and Transport Equipment Exports - Forecasting with External Factors Using Chain of Hybrid Sarimax-Garch Model
Volume-5 | Issue-2

Prediction on Crop Yield on Indian based Agriculture using Machine Learning
Volume-7 | Issue-2

Predictive Analytics with Data Visualization
Volume-4 | Issue-2

Green Lights Ahead: An IoT Solution for Prioritizing Emergency Vehicles
Volume-5 | Issue-3

Smart Farming: Enhancing Network Infrastructure for Agricultural Sustainability
Volume-6 | Issue-1

Automated Learning and Scheduling Assistant using LLM
Volume-6 | Issue-3

Smart Metering System for Water Distribution in Rural Areas
Volume-7 | Issue-1

Fake News Detection using DistilBERT Embeddings with PCA and Genetic Algorithm based Feature Selection
Volume-7 | Issue-3

Design and Implementation of MPPT based Solar Powered Wireless Battery Charger
Volume-4 | Issue-1

Gas Leakage Detection in Pipeline by SVM classifier with Automatic Eddy Current based Defect Recognition Method
Volume-3 | Issue-3

Comparison of Stock Price Prediction Models using Pre-trained Neural Networks
Volume-3 | Issue-2

Design an Adaptive Hybrid Approach for Genetic Algorithm to Detect Effective Malware Detection in Android Division
Volume-3 | Issue-2

Construction of a Framework for Selecting an Effective Learning Procedure in the School-Level Sector of Online Teaching Informatics
Volume-3 | Issue-4

Machine Learning Algorithms Performance Analysis for VLSI IC Design
Volume-3 | Issue-2

Efficient Two Stage Identification for Face mask detection using Multiclass Deep Learning Approach
Volume-3 | Issue-2

Ethereum and IOTA based Battery Management System with Internet of Vehicles
Volume-3 | Issue-3

Characterizing WDT subsystem of a Wi-Fi controller in an Automobile based on MIPS32 CPU platform across PVT
Volume-2 | Issue-4

A Review on Data Securing Techniques using Internet of Medical Things
Volume-3 | Issue-3

Assimilation of IoT sensors for Data Visualization in a Smart Campus Environment
Volume-3 | Issue-4

Home / Archives / Volume-7 / Issue-4 / Article-3

LLM Driven Unit Test Case Generation Using Agentic AI

Baskaran S. ,  Pradeepta Mishara,  Rashmi Agarwal
Open Access
Volume - 7 • Issue - 4 • december 2025
358-374  420 PDF
Abstract

Unit testing plays a crucial role in application software development by validating module functionality in isolation before system integration. Manually writing and reviewing unit test cases is time-consuming and defect-prone. Complex logic and boundary conditions are not tested thoroughly, leading to higher rework costs. Automated test generation using Large Language Models (LLMs) reduces development effort but faces challenges such as ensuring meaningful test coverage, handling invalid inputs, and addressing missing imports. This study aims to leverage LLMs in combination with the Autogen Agentic AI framework to generate high-quality Python unit tests by effectively prompting them, fixing failed test cases, validating them through test execution, analyzing results, and improving code coverage and mutation score. For experiments conducted on the Insurance Management Application, branch coverage improved from 98% to 99%, and the mutation score improved from 83.9% to 95.8%. The proposed approach significantly reduces manual effort while improving test suite effectiveness and software quality.

Cite this article
S., Baskaran, Pradeepta Mishara, and Rashmi Agarwal. "LLM Driven Unit Test Case Generation Using Agentic AI." Journal of Ubiquitous Computing and Communication Technologies 7, no. 4 (2025): 358-374. doi: 10.36548/jucct.2025.4.003
Copy Citation
S., B., Mishara, P., & Agarwal, R. (2025). LLM Driven Unit Test Case Generation Using Agentic AI. Journal of Ubiquitous Computing and Communication Technologies, 7(4), 358-374. https://doi.org/10.36548/jucct.2025.4.003
Copy Citation
S., Baskaran, et al. "LLM Driven Unit Test Case Generation Using Agentic AI." Journal of Ubiquitous Computing and Communication Technologies, vol. 7, no. 4, 2025, pp. 358-374. DOI: 10.36548/jucct.2025.4.003.
Copy Citation
S. B, Mishara P, Agarwal R. LLM Driven Unit Test Case Generation Using Agentic AI. Journal of Ubiquitous Computing and Communication Technologies. 2025;7(4):358-374. doi: 10.36548/jucct.2025.4.003
Copy Citation
B. S., P. Mishara, and R. Agarwal, "LLM Driven Unit Test Case Generation Using Agentic AI," Journal of Ubiquitous Computing and Communication Technologies, vol. 7, no. 4, pp. 358-374, Dec. 2025, doi: 10.36548/jucct.2025.4.003.
Copy Citation
S., B., Mishara, P. and Agarwal, R. (2025) 'LLM Driven Unit Test Case Generation Using Agentic AI', Journal of Ubiquitous Computing and Communication Technologies, vol. 7, no. 4, pp. 358-374. Available at: https://doi.org/10.36548/jucct.2025.4.003.
Copy Citation
@article{s.2025,
  author    = {Baskaran S. and Pradeepta Mishara and Rashmi Agarwal},
  title     = {{LLM Driven Unit Test Case Generation Using Agentic AI}},
  journal   = {Journal of Ubiquitous Computing and Communication Technologies},
  volume    = {7},
  number    = {4},
  pages     = {358-374},
  year      = {2025},
  publisher = {IRO Journals},
  doi       = {10.36548/jucct.2025.4.003},
  url       = {https://doi.org/10.36548/jucct.2025.4.003}
}
Copy Citation
Keywords
Unit Testing Large Language Models Agentic AI Test Automation AI-Driven Testing Test Case Effectiveness Code Coverage Mutation Testing
Published
28 November, 2025
×

Currently, subscription is the only source of revenue. The subscription resource covers the operating expenses such as web presence, online version, pre-press preparations, and staff wages.

To access the full PDF, please complete the payment process.

Subscription Details

Category Fee
Article Access Charge
15 USD
Open Access Fee Nil
Annual Subscription Fee
200 USD
After payment,
please send an email to irojournals.contact@gmail.com / journals@iroglobal.com requesting article access.
Subscription form: click here