Paper published in a book (Scientific congresses, symposiums and conference proceedings)
Extracting Relevant Test Inputs from Bug Reports for Automatic Test Case Generation
OUEDRAOGO, Wendkûuni Arzouma Marc Christian; Plein, Laura; KABORE, Abdoul Kader et al.
2024In Proceedings - 2024 ACM/IEEE 46th International Conference on Software Engineering: Companion, ICSE-Companion 2024
Editorial reviewed
 

Files


Full Text
Extracting_Relevant_Test_Inputs_from_Bug_Reports_for_Automatic_Test_Case_Generation__Poster_version_ (1).pdf
Author postprint (505.95 kB)
Download

All documents in ORBilu are protected by a user license.

Send to



Details



Keywords :
Automated test-case generations; Automatic testcase generation; Bug detection; Bug reports; Dynamic symbolic executions; Labour-intensive; Search-based software testing; Test case generation; Test inputs; Unit tests; Software
Abstract :
[en] INTRODUCTION: The pursuit of automating software test case generation, particularly for unit tests, has become increasingly important due to the labor-intensive nature of manual test generation [6]. However, a significant challenge in this domain is the inability of automated approaches to generate relevant inputs, which compromises the efficacy of the tests [6]. In this study, we address the critical issue of enhancing the quality of automated test case generation.We demonstrate the presence of valuable relevant inputs within bug reports, showcasing their potential for improving software testing. To harness these inputs effectively, we introduce BRMiner, a novel tool designed for the extraction of relevant input values from bug reports. Our approach includes the modification of EvoSuite, a prominent automated test case generation tool, enabling it to incorporate these extracted inputs. Through systematic evaluation using the Defects4J benchmark, we assess the impact of BRMiner inputs on test adequacy and effectiveness, focusing on code coverage and bug detection. This study not only identifies the relevance of bug report inputs but also offers a practical solution for leveraging them to enhance automated test case generation in real-world software projects. In the realm of automated test case generation, methods like Dynamic Symbolic Execution (DSE) [2] and Search-Based Software Testing (SBST) have been prevalent [3]. Despite their strengths, these techniques often struggle with generating contextually appropriate and realistic inputs [6]. This study, therefore, emphasizes the untapped potential of bug reports as a source of such inputs. Bug reports, rich in valid, human-readable inputs, are particularly beneficial for enhancing test coverage and detecting bugs. BRMiner, automates the extraction of relevant test inputs from bug reports, significantly enhancing the efficiency of test case generation. This is achieved by incorporating these inputs into EvoSuite, a leading SBST tool. The study showcases the advantages of integrating a feature in EvoSuite for external inputs, particularly from bug reports, to improve its efficacy in conjunction with DSE. Related research in automatic test case generation provides context to our work. TestMiner [6], unlike BRMiner, extracts literals from existing tests for domain-specific values, and approaches like K-Config [4] and LeRe [7], focusing on compiler testing using bug report information, diverge from our approach. PerfLearner [1], which uses bug reports for extracting execution commands for performance bugs, also differs from BRMiner's focus on bug detection.
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 ;  University of Luxembourg, 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
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 :
Extracting Relevant Test Inputs from Bug Reports for Automatic Test Case Generation
Publication date :
14 April 2024
Event name :
Proceedings of the 2024 IEEE/ACM 46th International Conference on Software Engineering: Companion Proceedings
Event place :
Lisbon, Prt
Event date :
14-04-2024 => 20-04-2024
By request :
Yes
Main work title :
Proceedings - 2024 ACM/IEEE 46th International Conference on Software Engineering: Companion, ICSE-Companion 2024
Publisher :
IEEE Computer Society
ISBN/EAN :
9798400705021
Peer reviewed :
Editorial reviewed
Funders :
ACM and ACM Special Interest Group on Software Engineering
Centro Cultural de Belem
et al.
Faculty of Engineering of University of Porto
IEEE Computer Society and IEEE Technical Council on Software Engineering
INESC-ID
Funding text :
This work is supported by funding from the Fonds National de la Recherche Luxembourg (FNR) under the Aides \u00E0 la Formation- Recherche (AFR) (grant agreement No. 17185670).
Available on ORBilu :
since 07 January 2025

Statistics


Number of views
92 (9 by Unilu)
Number of downloads
41 (0 by Unilu)

Scopus citations®
 
2
Scopus citations®
without self-citations
2
OpenCitations
 
0
OpenAlex citations
 
2

Bibliography


Similar publications



Contact ORBilu