DSpace Repository

System test case design from requirements specifications: insights and challenges of using chatgpt

Show simple item record

dc.contributor.author Kumar, Dhruv
dc.date.accessioned 2025-04-25T06:53:33Z
dc.date.available 2025-04-25T06:53:33Z
dc.date.issued 2024
dc.identifier.uri https://arxiv.org/abs/2412.03693
dc.identifier.uri http://dspace.bits-pilani.ac.in:8080/jspui/handle/123456789/18788
dc.description.abstract System testing is essential in any software development project to ensure that the final products meet the requirements. Creating comprehensive test cases for system testing from requirements is often challenging and time-consuming. This paper explores the effectiveness of using Large Language Models (LLMs) to generate test case designs from Software Requirements Specification (SRS) documents. In this study, we collected the SRS documents of five software engineering projects containing functional and non-functional requirements, which were implemented, tested, and delivered by respective developer teams. For generating test case designs, we used ChatGPT-4o Turbo model. We employed prompt-chaining, starting with an initial context-setting prompt, followed by prompts to generate test cases for each use case. We assessed the quality of the generated test case designs through feedback from the same developer teams as mentioned above. Our experiments show that about 87 percent of the generated test cases were valid, with the remaining 13 percent either not applicable or redundant. Notably, 15 percent of the valid test cases were previously not considered by developers in their testing. We also tasked ChatGPT with identifying redundant test cases, which were subsequently validated by the respective developers to identify false positives and to uncover any redundant test cases that may have been missed by the developers themselves. This study highlights the potential of leveraging LLMs for test generation from the Requirements Specification document and also for assisting developers in quickly identifying and addressing redundancies, ultimately improving test suite quality and efficiency of the testing procedure. en_US
dc.language.iso en en_US
dc.subject Computer Science en_US
dc.subject System testing en_US
dc.subject ChatGPT-4o Turbo en_US
dc.subject Software requirements specification (SRS) en_US
dc.title System test case design from requirements specifications: insights and challenges of using chatgpt en_US
dc.type Preprint en_US


Files in this item

Files Size Format View

There are no files associated with this item.

This item appears in the following Collection(s)

Show simple item record

Search DSpace


Advanced Search

Browse

My Account