PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
August 25, 2025Applied and Computational Engineering1 citationsOpen Access

A Survey and Prospects on Unit Test Case Generation Techniques Based on Large Language Models

View Full Paper
ZYZhiyao YangLWLei Wang

Key Points

  • Unit test case generation techniques are evolving rapidly with the help of large language models, improving efficiency in software development.
  • Key advancements have emerged from models like GPT and LLaMA, providing new avenues for generating automated test cases.
  • The review categorizes methods into those strictly using LLMs and those combining traditional static analysis techniques.
  • This work outlines ongoing challenges and future prospects in LLM-based unit test generation, emphasizing need for continued innovation.

Abstract

Automated unit test case generation is a critical research topic in the field of software engineering. Numerous scholars at home and abroad have devoted considerable efforts to addressing this problem and have achieved fruitful results. In recent years, the emergence of large language models (LLMs), such as the GPT series, LLaMA series, DeepSeek series, T5, and their variants tailored for source code, has introduced new technical pathways for unit test case generation, thereby reigniting widespread scholarly interest in this area. To further promote the theoretical and practical development of LLM-based unit test case generation, this study presents a comprehensive survey and an outlook on future research. It reviews and analyzes the evolution of unit test case generation techniques, from early exploratory efforts to the current stage driven by large models. Starting from two main categoriestechniques that rely solely on LLMs and those that integrate traditional static analysisthe current state of research and recent advancements in LLM-based test generation are discussed. On this basis, the study summarizes the major issues and challenges in the field and envisions possible future research directions. This work systematically presents the developmental trajectory, latest progress, and future prospects of this domain, offering valuable insights and guidance for subsequent research and innovation.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Yang et al. (2025) studied this question.

synapsesocial.com/papers/68af5d5dad7bf08b1eae0343https://doi.org/10.54254/2755-2721/2025.26220
Ask AI
Helpful
Bookmark
Share
View Full Paper