A System for Automated Unit Test Generation Using Large Language Models and Assessment of Generated Test Suites
Not on the map. Why?
Abstract (arXiv)
Unit tests represent the most basic level of testing within the software testing lifecycle and are crucial to ensuring software correctness. Designing and creating unit tests is a costly and labor-intensive process that is ripe for automation. Recently, Large Language Models (LLMs) have been applied to various aspects of software development, including unit test generation. Although several empirical studies evaluating LLMs' capabilities in test code generation exist, they primarily focus on simple scenarios, such as the straightforward generation of unit tests for individual methods. These evaluations often involve independent and small-scale test units, providing a limited view of LLMs' performance in real-world software development scenarios. Moreover, previous studies do not approach the problem at a suitable scale for real-life applications. Generated unit tests are often evaluated via manual integration into the original projects, a process that limits the number of tests executed and reduces overall efficiency. To address these gaps, we have developed an approach for generating and evaluating more real-life complexity test suites. Our approach focuses on class-level test code generation and automates the entire process from test generation to test assessment. In this work, we present AgoneTest: an automated system for generating test suites for Java projects and a comprehensive and principled methodology for evaluating the generated test suites. Starting from a state-of-the-art dataset (i.e., Methods2Test), we built a new dataset for comparing human-written tests with those generated by LLMs. Our key contributions include a scalable automated software system, a new dataset, and a detailed methodology for evaluating test quality.
Key facts. Cited by 8 papers in the map (data through 13 Oct 2026). Builds on 15 of its 37 references that are in the map. First posted on arXiv 14 Aug 2024.
Builds on
15 of 37 references.
References · 15
- 2020Language Models are Few-Shot Learnerscited by 32,320
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 731
- 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applicationscited by 430
- 2023An Empirical Evaluation of Using Large Language Models for Automated Unit Test Generationcited by 194
- 2020Unit Test Case Generation with Transformers and Focal Contextcited by 118
- 2022Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproductioncited by 110
- 2022Large Language Models are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Modelscited by 103
- 2023ChatUniTest: A Framework for LLM-Based Test Generationcited by 95
- 2023Fuzz4All: Universal Fuzzing with Large Language Modelscited by 88
- 2023No More Manual Tests? Evaluating and Improving ChatGPT for Unit Test Generationcited by 82
- 2023Using Large Language Models to Generate JUnit Tests: An Empirical Studycited by 53
- 2023ChatGPT vs SBST: A Comparative Assessment of Unit Test Suite Generationcited by 32
3 more
Built on by
Citing papers per year: 2025: 5; 2026: 3.
8 papers.
- 2025A Contemporary Survey of Large Language Model Assisted Program Analysiscited by 11
- 2026Understanding LLM-Driven Test Oracle Generationcited by 2
- 2026Evaluating LLM-Based Test Generation Under Software Evolutioncited by 2
- 2025A Blueprint for AI-Driven Software Quality: Integrating LLMs with Established Standardscited by 1
- 2025Towards Automated Formal Verification of Backend Systems with LLMscited by 1
- 2025CUBETESTERAI: Automated JUnit Test Generation using the LLaMA Modelcited by 0
- 2025Impact of Code Context and Prompting Strategies on Automated Unit Test Generation with Modern General-Purpose Large Language Modelscited by 0
- 2026Do Coverage and Mutation Scores of LLM-Generated Test Suites Correlate with Their Effectiveness? (Replicability Study)cited by 0
- 2026Do Coverage and Mutation Scores of LLM-Generated Test Suites Correlate with Their Effectiveness? (Replicability Study)24 Jul 2026
- 2026Evaluating LLM-Based Test Generation Under Software Evolution24 Mar 2026
- 2026Understanding LLM-Driven Test Oracle Generation9 Jan 2026
- 2025Impact of Code Context and Prompting Strategies on Automated Unit Test Generation with Modern General-Purpose Large Language Models18 Jul 2025
- 2025A Blueprint for AI-Driven Software Quality: Integrating LLMs with Established Standards19 May 2025
- 2025Towards Automated Formal Verification of Backend Systems with LLMs13 Apr 2025
- 2025CUBETESTERAI: Automated JUnit Test Generation using the LLaMA Model13 Mar 2025
- 2025A Contemporary Survey of Large Language Model Assisted Program Analysis5 Feb 2025