Leveraging Conversational AI for Accelerating User-Driven Software Testing

Sabané, Aminata and Plein, Laura and F. Bissyandé, Tegawendé (2023) Leveraging Conversational AI for Accelerating User-Driven Software Testing. In: Towards new e-Infrastructure and e-Services for Developing Countries. 15th International Conference, AFRICOMM 2023, Bobo-Dioulasso, Burkina Faso, November 23–25, 2023, Proceedings, Part II.

[thumbnail of 76559.pdf] PDF
76559.pdf

Download (730kB)

Abstract

This work addresses a research challenge in automating the translation of natural language inputs into programming language specifications. We consider the case of bug reports, which are informally written by users, and that must be specifying into executable test cases for reproducing the bug on the target software. Software bugs are indeed largely reported in natural language by users. Yet, we lack reliable tools to automatically address reported bugs (i.e., enabling their analysis, reproduction, and bug fixing). We therefore build on the recent promises brought by ChatGPT for various tasks, including in software engineering, and establish the following research question:What if Conversational Artificial Intelligence (AI) models could be used to explore the semantics of bug reports as well as to automate their reproduction?We evaluate the capabilities of ChatGPT, a state-of-the-art conversational AI, i.e., chatbot, using the popular Defects4J benchmark with its associated bug reports. The results reveal that ChatGPT can generate executable test cases that could trigger 50% of the bugs reported in natural language. These results are promising not only for the research community, but also for practitioners.

Item Type: Conference or Workshop Item (UNSPECIFIED)
Uncontrolled Keywords: ChatGPT, Debugging, Translation, Test cases, Bug reports
Date Deposited: 04 Mar 2026 19:36
Last Modified: 20 Nov 2026 13:41
URI: https://eprints.eai.eu/id/eprint/57215

Actions (login required)

View Item
View Item