AgentTester: Improve Coverage in Automated Test Generation With Multi‐Agent as Optimizer
Xin Lian, Jiayin Wang, Xiaoyan Zhu, Hangyu Cheng, Fangyan Wang
Key points
From the paper's conclusion- For large language models (LLMs) have demonstrated exceptional capabilities in handling simple reasoning tasks with the Chain‐of‐Thought (CoT) scheme, this paper introduces AgentTester, a multi‐agent framework of LLM, where subtasks in the search process are assigned to multiple agents applying CoT to efficiently generate high‐quality test cases.
Abstract
Heuristic algorithms have been widely applied in search‐based software testing (SBST), playing a critical role in the automated generation of high‐coverage test cases. These algorithms often rely on random operations such as initialization, crossover and mutation to provide diverse individuals for search. However, it is possible to cause low‐quality solutions and a waste of resources due to their undirected randomness, which can be replaced by clear end‐to‐end reasoning. For large language models (LLMs) have demonstrated exceptional capabilities in handling simple reasoning tasks with the Chain‐of‐Thought (CoT) scheme, this paper introduces AgentTester, a multi‐agent framework of LLM, where subtasks in the search process are assigned to multiple agents applying CoT to efficiently generate high‐quality test cases. Experimental results show that AgentTester outperforms comparison baselines across benchmarks in generation with high executable rate, coverage, readability and convergence speed. Results validate the effectiveness of each agent and further underscore the potential of LLM in addressing complex reasoning tasks.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Test vs Mutant: Adversarial LLM Agents for Robust Unit Test GenerationProceedings of the ACM on software engineering. · 2026
- From Greedy Steps to Global Optimization: Learning Sequential Test Suite GenerationProceedings of the ACM on Software Engineering · 2026
- Can Coding Agents Write and Transpile Unit TestsarXiv · 2026
- Benchmarking LLM Agents for Behaviorally Adequate Test Generation from Software RequirementsarXiv · 2026
- TestPrism: Rethinking Test Evaluation Beyond a Single ReferencearXiv · 2026
- TestJack: Should you trust the results in coding benchmarks? Agentic Coding Benchmarks Auditing via Evaluator EvolutionarXiv · 2026