System Test Case Design from Requirements Specifications: Insights and Challenges of Using ChatGPT
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 7 of its 33 references that are in the map. First posted on arXiv 4 Dec 2024.
Builds on
7 of 33 references.
References · 7
- 2023Unleashing the potential of prompt engineering for large language modelscited by 72
- 2023ChatGPT Prompt Patterns for Improving Code Quality, Refactoring, Requirements Elicitation, and Software Designcited by 66
- 2024SOEN-101: Code Generation by Emulating Software Process Models Using Large Language Model Agentscited by 34
- 2023A Systematic Survey of Prompt Engineering on Vision-Language Foundation Modelscited by 12
- 2024Automated User Story Generation with Test Case Specification Using Large Language Modelcited by 7
- 2023Can ChatGPT advance software testing intelligence? An experience report on metamorphic testingcited by 6
- 2019Automatic Generation of Acceptance Test Cases from Use Case Specifications: an NLP-based Approachcited by 1
Built on by
Citing papers per year: 2025: 1.
1 paper.