Article (Scientific journals)
Enriching automatic test case generation by extracting relevant test inputs from bug reports
OUEDRAOGO, Wendkûuni Arzouma Marc Christian; Plein, Laura; KABORE, Abdoul Kader et al.
2025In Empirical Software Engineering, 30 (3)
Peer Reviewed verified by ORBi Dataset
 

Files


Full Text
s10664-025-10635-z (4).pdf
Author postprint (2.15 MB) Creative Commons License - Attribution
Download

All documents in ORBilu are protected by a user license.

Send to



Details



Keywords :
Automated test generation; Bug detection; Bug reports; Large language models; Search-based software testing; Test inputs; Automated test generations; Automatic testcase generation; Code coverage; Generation tools; Language model; Large language model; Software
Abstract :
[en] The quality of software is closely tied to the effectiveness of the tests it undergoes. Manual test writing, though crucial for bug detection, is time-consuming, which has driven significant research into automated test case generation. However, current methods often struggle to generate relevant inputs, limiting the effectiveness of the tests produced. To address this, we introduce BRMiner, a novel approach that leverages Large Language Models (LLMs) in combination with traditional techniques to extract relevant inputs from bug reports, thereby enhancing automated test generation tools. In this study, we evaluate BRMiner using the Defects4J benchmark and test generation tools such as EvoSuite and Randoop. Our results demonstrate that BRMiner achieves a Relevant Input Rate (RIR) of 60.03% and a Relevant Input Extraction Accuracy Rate (RIEAR) of 31.71%, significantly outperforming methods that rely on LLMs alone. The integration of BRMiner’s input enhances EvoSuite ability to generate more effective test, leading to increased code coverage, with gains observed in branch, instruction, method, and line coverage across multiple projects. Furthermore, BRMiner facilitated the detection of 58 unique bugs, including those that were missed by traditional baseline approaches. Overall, BRMiner’s combination of LLM filtering with traditional input extraction techniques significantly improves the relevance and effectiveness of automated test generation, advancing the detection of bugs and enhancing code coverage, thereby contributing to higher-quality software development.
Disciplines :
Computer science
Author, co-author :
OUEDRAOGO, Wendkûuni Arzouma Marc Christian  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > TruX
Plein, Laura;  SnT Centre, University of Luxembourg, Esch-sur-Alzette, Luxembourg
KABORE, Abdoul Kader  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > SNT Office > Project Coordination
HABIB, Andrew ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust > TruX > Team Tegawendé François d A BISSYANDE
KLEIN, Jacques  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > TruX
Lo, David;  Singapore Management University, Singapore, Singapore
BISSYANDE, Tegawendé François d Assise  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > TruX
External co-authors :
yes
Language :
English
Title :
Enriching automatic test case generation by extracting relevant test inputs from bug reports
Publication date :
May 2025
Journal title :
Empirical Software Engineering
ISSN :
1382-3256
eISSN :
1573-7616
Publisher :
Springer
Volume :
30
Issue :
3
Peer reviewed :
Peer Reviewed verified by ORBi
Funders :
Fonds National de la Recherche Luxembourg
Funding text :
This research was funded in whole, or in part, by the Luxembourg National Research Fund (FNR), grant reference AFR PhD bilateral, project reference 17185670. For the purpose of open access, and in fulfilment of the obligations arising from the grant agreement, the author has applied a Creative Commons Attribution 4.0 International (CC BY 4.0) license to any Author Accepted Manuscript version arising from this submission.
Available on ORBilu :
since 02 September 2025

Statistics


Number of views
57 (6 by Unilu)
Number of downloads
15 (1 by Unilu)

Scopus citations®
 
4
Scopus citations®
without self-citations
4
OpenCitations
 
0
OpenAlex citations
 
4
WoS citations
 
4

Bibliography


Similar publications



Contact ORBilu