The Prompt Alchemist: Automated LLM-Tailored Prompt Optimization for Test Case Generation
Not on the map. Why?
Abstract (arXiv)
Test cases are essential for validating the reliability and quality of software applications. Recent studies have demonstrated the capability of Large Language Models (LLMs) to generate useful test cases for given source code. However, the existing work primarily relies on human-written plain prompts, which often leads to suboptimal results since the performance of LLMs can be highly influenced by the prompts. Moreover, these approaches use the same prompt for all LLMs, overlooking the fact that different LLMs might be best suited to different prompts. Given the wide variety of possible prompt formulations, automatically discovering the optimal prompt for each LLM presents a significant challenge. Although there are methods on automated prompt optimization in the natural language processing field, they are hard to produce effective prompts for the test case generation task. First, the methods iteratively optimize prompts by simply combining and mutating existing ones without proper guidance, resulting in prompts that lack diversity and tend to repeat the same errors in the generated test cases. Second, the prompts are generally lack of domain contextual knowledge, limiting LLMs' performance in the task.
Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). First posted on arXiv 2 Jan 2025.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2025: 7; 2026: 9.
16 papers.
Sort:
By area:
- 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Modelscited by 349
- 2026Self-Improvements in Modern Agentic Systems: A Surveycited by 17
- 2026SWE-MeM: Learning Adaptive Memory Management for Long-Horizon Coding Agentscited by 12
- 2025Agentic Learner with Grow-and-Refine Multimodal Semantic Memorycited by 11
- 2026Dockerless: Environment-Free Program Verifier for Coding Agentscited by 8
- 2025Survey: Multi-Armed Bandits Meet Large Language Modelscited by 6
- 2026Synthetic Interaction Data for Scalable Personalization in Large Language Modelscited by 4
- 2025ORPP: Self-Optimizing Role-playing Prompts to Enhance Language Model Capabilitiescited by 3
- 2025Large Language Models for Software Testing: A Research Roadmapcited by 2
- 2025TREAT: A Code LLMs Trustworthiness / Reliability Evaluation and Testing Frameworkcited by 1
- 2026SWE-Fuse: Empowering Software Agents via Issue-free Trajectory Learning and Entropy-aware RLVR Trainingcited by 1
- 2025QiMeng-NeuComBack: Self-Evolving Translation from IR to Assembly Codecited by 0
4 more
- 2026TAM-Eval: Evaluating LLMs for Automated Unit Test Maintenancecited 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
- 2026DeepEdu-v1: Efficient and Scalable Agentic LLMs for Vietnamese Educationcited by 0
- 2026DeepEdu-v1: Efficient and Scalable Agentic LLMs for Vietnamese Education25 Sep 2026
- 2026Self-Improvements in Modern Agentic Systems: A Survey14 Jul 2026
- 2026Dockerless: Environment-Free Program Verifier for Coding Agents26 Jun 2026
- 2026SWE-MeM: Learning Adaptive Memory Management for Long-Horizon Coding Agents26 Jun 2026
- 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
- 2026SWE-Fuse: Empowering Software Agents via Issue-free Trajectory Learning and Entropy-aware RLVR Training9 Mar 2026
- 2026Synthetic Interaction Data for Scalable Personalization in Large Language Models12 Feb 2026
- 2026TAM-Eval: Evaluating LLMs for Automated Unit Test Maintenance26 Jan 2026
- 2025Agentic Learner with Grow-and-Refine Multimodal Semantic Memory26 Nov 2025
- 2025QiMeng-NeuComBack: Self-Evolving Translation from IR to Assembly Code3 Nov 2025
- 2025TREAT: A Code LLMs Trustworthiness / Reliability Evaluation and Testing Framework20 Oct 2025
4 more
- 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models6 Oct 2025
- 2025Large Language Models for Software Testing: A Research Roadmap29 Sep 2025
- 2025ORPP: Self-Optimizing Role-playing Prompts to Enhance Language Model Capabilities3 Jun 2025
- 2025Survey: Multi-Armed Bandits Meet Large Language Models19 May 2025
- 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Modelscited by 349
- 2026Self-Improvements in Modern Agentic Systems: A Surveycited by 17
- 2026SWE-MeM: Learning Adaptive Memory Management for Long-Horizon Coding Agentscited by 12
- 2026Dockerless: Environment-Free Program Verifier for Coding Agentscited by 8
- 2026SWE-Fuse: Empowering Software Agents via Issue-free Trajectory Learning and Entropy-aware RLVR Trainingcited by 1
- 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
- 2026DeepEdu-v1: Efficient and Scalable Agentic LLMs for Vietnamese Educationcited by 0
- 2026DeepEdu-v1: Efficient and Scalable Agentic LLMs for Vietnamese Education25 Sep 2026
- 2026Self-Improvements in Modern Agentic Systems: A Survey14 Jul 2026
- 2026Dockerless: Environment-Free Program Verifier for Coding Agents26 Jun 2026
- 2026SWE-MeM: Learning Adaptive Memory Management for Long-Horizon Coding Agents26 Jun 2026
- 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
- 2026SWE-Fuse: Empowering Software Agents via Issue-free Trajectory Learning and Entropy-aware RLVR Training9 Mar 2026
- 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models6 Oct 2025
- 2025Survey: Multi-Armed Bandits Meet Large Language Modelscited by 6
- 2026Synthetic Interaction Data for Scalable Personalization in Large Language Modelscited by 4
- 2025ORPP: Self-Optimizing Role-playing Prompts to Enhance Language Model Capabilitiescited by 3
- 2025Large Language Models for Software Testing: A Research Roadmapcited by 2
- 2025TREAT: A Code LLMs Trustworthiness / Reliability Evaluation and Testing Frameworkcited by 1
- 2026TAM-Eval: Evaluating LLMs for Automated Unit Test Maintenancecited by 0
- 2026Synthetic Interaction Data for Scalable Personalization in Large Language Models12 Feb 2026
- 2026TAM-Eval: Evaluating LLMs for Automated Unit Test Maintenance26 Jan 2026
- 2025TREAT: A Code LLMs Trustworthiness / Reliability Evaluation and Testing Framework20 Oct 2025
- 2025Large Language Models for Software Testing: A Research Roadmap29 Sep 2025
- 2025ORPP: Self-Optimizing Role-playing Prompts to Enhance Language Model Capabilities3 Jun 2025
- 2025Survey: Multi-Armed Bandits Meet Large Language Models19 May 2025