Litcius/Paper detail

A Review of Large Language Models for Automated Test Case Generation

Arda Celik, Qusay H. Mahmoud

2025Machine Learning and Knowledge Extraction10 citationsDOIOpen Access PDF

Abstract

Automated test case generation aims to improve software testing by reducing the manual effort required to create test cases. Recent advancements in large language models (LLMs), with their ability to understand natural language and generate code, have identified new opportunities to enhance this process. In this review, the focus is on the use of LLMs in test case generation to identify the effectiveness of the proposed methods compared with existing tools and potential directions for future research. A literature search was conducted using online resources, filtering the studies based on the defined inclusion and exclusion criteria. This paper presents the findings from the selected studies according to the three research questions and further categorizes the findings based on the common themes. These findings highlight the opportunities and challenges associated with the use of LLMs in this domain. Although improvements were observed in metrics such as test coverage, usability, and correctness, limitations such as inconsistent performance and compilation errors were highlighted. This provides a state-of-the-art review of LLM-based test case generation, emphasizing the potential of LLMs to improve automated testing while identifying areas for further advancements.

Topics & Concepts

Test (biology)Computer scienceNatural language generationData scienceNatural languageFocus (optics)Artificial intelligenceSoftwareMachine learningRisk analysis (engineering)Test caseSoftware engineeringNatural language processingTest Management ApproachLanguage modelData miningInclusion (mineral)Management scienceSoftware testingSoftware Testing and Debugging TechniquesSoftware Engineering ResearchSoftware Engineering Techniques and Practices
A Review of Large Language Models for Automated Test Case Generation | Litcius