Enriching Automatic Test Case Generation by Extracting Relevant Test Inputs from Bug Reports
Wendk\^uuni C. Ou\'edraogo, Laura Plein, Kader Kabor\'e, Andrew Habib,, Jacques Klein, David Lo, Tegawend\'e F. Bissyand\'e

TL;DR
This paper presents BRMiner, a novel method combining Large Language Models with traditional techniques to extract relevant test inputs from bug reports, significantly improving automated test case generation effectiveness and bug detection.
Contribution
Introduction of BRMiner, a hybrid approach leveraging LLMs and traditional methods to enhance relevance of inputs for automated test generation.
Findings
BRMiner achieves a 60.03% Relevant Input Rate.
It attains a 31.71% Relevant Input Extraction Accuracy Rate.
BRMiner improves code coverage and detects more bugs.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Testing and Debugging Techniques · Software System Performance and Reliability
