Détails Publication
COMMUNICATION

Leveraging Conversational AI for Accelerating User-Driven Software Testing

  • EAI AFRICOMM 2023 - 15th EAI International Conference on Africa Internet infrastructure and Services November 23-25, 2023 Bobo-Dioulasso, Burkina Faso : 81-88
Discipline : Informatique et sciences de l'information
Auteur(s) :
Renseignée par : BISSYANDE T. François D'Assise

Résumé

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.

Mots-clés

test generation, LLM, bug report

938
Enseignants
8085
Publications
49
Laboratoires
101
Projets