Automatic High-Level Test Case Generation using Large Language Models
Not on the map. Why?
Abstract (arXiv)
We explored the challenges practitioners face in software testing and proposed automated solutions to address these obstacles. We began with a survey of local software companies and 26 practitioners, revealing that the primary challenge is not writing test scripts but aligning testing efforts with business requirements. Based on these insights, we constructed a use-case rightarrow (high-level) test-cases dataset to train/fine-tune models for generating high-level test cases. High-level test cases specify what aspects of the software's functionality need to be tested, along with the expected outcomes. We evaluated large language models, such as GPT-4o, Gemini, LLaMA 3.1 8B, and Mistral 7B, where fine-tuning (the latter two) yields improved performance. A final (human evaluation) survey confirmed the effectiveness of these generated test cases. Our proactive approach strengthens requirement-testing alignment and facilitates early test case generation to streamline development.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). First posted on arXiv 23 Mar 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026TestExplora: Benchmarking LLMs for Proactive Bug Discovery via Repository-Level Test Generationcited by 5
- 2026Explicating Tacit Regulatory Knowledge from LLMs to Auto-Formalize Requirements for Compliance Test Case Generationcited by 0
- 2026Supporting software engineering tasks with agentic AI: Demonstration on document retrieval and test scenario generationcited by 0
- 2026PPO guided Agentic Pipeline for Adaptive Prompt Selection and Test Case Generationcited by 0
- 2026FeedbackLLM: Metadata driven Multi-Agentic Language Agnostic Test Case Generator with Evolving prompt and Coverage Feedbackcited by 0
- 2026FeedbackLLM: Metadata driven Multi-Agentic Language Agnostic Test Case Generator with Evolving prompt and Coverage Feedback2 May 2026
- 2026PPO guided Agentic Pipeline for Adaptive Prompt Selection and Test Case Generation1 May 2026
- 2026TestExplora: Benchmarking LLMs for Proactive Bug Discovery via Repository-Level Test Generation11 Feb 2026
- 2026Supporting software engineering tasks with agentic AI: Demonstration on document retrieval and test scenario generation4 Feb 2026
- 2026Explicating Tacit Regulatory Knowledge from LLMs to Auto-Formalize Requirements for Compliance Test Case Generation14 Jan 2026