LLMs and Prompting for Unit Test Generation: A Large-Scale Evaluation

Unit testing, essential for identifying bugs, is often neglected due to time constraints. Automated test generation tools exist but typically lack readability and require developer intervention. Large Language Models (LLMs) like GPT and Mistral show potential in test generation, but their effectiveness remains unclear.

Authors

Institutions

Publication Details

Published
2024-10-18
DOI
https://doi.org/10.1145/3691620.3695330
Citations
7
Primary Topic
Software Testing and Debugging Techniques
Type
article
Field-Weighted Citation Impact
3.40

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

LLMs and Prompting for Unit Test Generation: A Large-Scale Evaluation

Jacques Klein, Abdoul Kader Kaboré, Anil Koyuncu, Yewei Song et al.
7 citations
Software Testing and Debugging Techniques
3.40
article

LLMs and Prompting for Unit Test Generation: A Large-Scale Evaluation

Jacques Klein, Abdoul Kader Kaboré, Anil Koyuncu, Yewei Song, David Lo, Tegawendé François Bissyandé, Wendkûuni C. Ouédraogo, Haoye Tian
article en
7 citations

Abstract

Unit testing, essential for identifying bugs, is often neglected due to time constraints. Automated test generation tools exist but typically lack readability and require developer intervention. Large Language Models (LLMs) like GPT and Mistral show potential in test generation, but their effectiveness remains unclear.

The University of Melbourne (AU), Bilkent University (TR), University of Luxembourg (LU), Singapore Management University (SG)
Fonds National de la Recherche Luxembourg
Openalex Percentile: Top 6%
Software Testing and Debugging Techniques
3.40
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.