TestEvo-Bench: An Executable and Live Benchmark for Test and Code Co-Evolution
Summary
TestEvo-Bench is a new executable and live benchmark designed to evaluate test automation agents in test and code co-evolution scenarios. Unlike existing benchmarks that often separate tests from code changes or use static metadata, TestEvo-Bench provides tasks mined from real software repositories, ensuring tests are executable and semantically tied to code changes. It features two tracks: test generation, where agents write new tests for new behavior, and test update, where agents adapt failing tests to changed behavior. Each task includes environment configuration for execution-grounded metrics like pass rate and coverage. The benchmark is "live," recording timestamps and continuously mining new tasks to mitigate data leakage. The current snapshot comprises 746 test generation and 509 test update tasks from 152 Java projects. Experiments with agents like Claude Code and SWE-Agent, powered by models such as Claude Opus 4.7 and Gemini 3.1 Pro, showed success rates up to 77.5% for generation and 74.6% for updates, though performance declined on recent tasks and with cost constraints.
Key takeaway
For Machine Learning Engineers developing or evaluating test automation agents, TestEvo-Bench offers a robust, execution-grounded benchmark to assess agent performance in real-world code and test co-evolution scenarios. You should consider using its live tasks to mitigate data leakage risks and gain insights into how your models handle recent code changes. Be aware that current state-of-the-art agents show performance drops on newer tasks and under cost constraints, indicating areas for improvement in your model development.
Key insights
TestEvo-Bench provides an executable, live benchmark for evaluating test automation agents in code and test co-evolution.
Principles
- Tests and code evolve together.
- Execution-grounded metrics are crucial.
- Live benchmarks reduce data leakage.
Method
TestEvo-Bench mines co-evolution tasks from repositories, packages them with environment configs, and supports execution-grounded metrics.
In practice
- Evaluate test generation agents.
- Assess test update capabilities.
- Benchmark LLMs for code evolution.
Topics
- Test Automation
- Code Co-evolution
- Software Benchmarking
- Large Language Models
- Java Development
- Test Generation
Best for: Research Scientist, AI Scientist, Machine Learning Engineer, Software Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Artificial Intelligence.