mlsanityData to 14 Oct 2026

CLOVER: A Test Case Generation Benchmark with Coverage, Long-Context, and Verification

arXiv 2502.08806 ↗First posted 12 Feb 2025cs.SE cs.AI cs.LGcited by 8

Not on the map. Why?

Abstract (arXiv)

Software testing is a critical aspect of software development, yet generating test cases remains a routine task for engineers. This paper presents a benchmark, CLOVER, to evaluate models' capabilities in generating and completing test cases under specific conditions. Spanning from simple assertion completions to writing test cases that cover specific code blocks across multiple files, these tasks are based on 12 python repositories, analyzing 845 problems with context lengths ranging from 4k to 128k tokens. Utilizing code testing frameworks, we propose a method to construct retrieval contexts using coverage information. While models exhibit comparable performance with short contexts, notable differences emerge with 16k contexts. Notably, models like GPT-4o and Claude 3.5 can effectively leverage relevant snippets; however, all models score below 35% on the complex Task III, even with the oracle context provided, underscoring the benchmark's significance and the potential for model improvement. The benchmark is containerized for code execution across tasks, and we will release the code, data, and construction methodologies.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 30 of its 37 references that are in the map. First posted on arXiv 12 Feb 2025.

Builds on

30 of 37 references.

References · 30

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  3. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  4. 2024Qwen2.5 Technical Reportcited by 4,942
  5. 2021Program Synthesis with Large Language Modelscited by 3,637
  6. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  7. 2023Mistral 7Bcited by 3,164
  8. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  9. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  10. 2024Qwen2.5-Coder Technical Reportcited by 1,203
  11. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
  12. 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 546
18 more
  1. 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 452
  2. 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 367
  3. 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 353
  4. 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 300
  5. 2023Magicoder: Empowering Code Generation with OSS-Instructcited by 256
  6. 2023Software Testing with Large Language Models: Survey, Landscape, and Visioncited by 166
  7. 2024CodeGemma: Open Code Models Based on Gemmacited by 150
  8. 2024SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agentscited by 133
  9. 2020Unit Test Case Generation with Transformers and Focal Contextcited by 118
  10. 2023ChatUniTest: A Framework for LLM-Based Test Generationcited by 96
  11. 2024Automated Unit Test Improvement using Large Language Models at Metacited by 75
  12. 2021Break-It-Fix-It: Unsupervised Learning for Program Repaircited by 71
  13. 2024RepoAgent: An LLM-Powered Open-Source Framework for Repository-level Code Documentation Generationcited by 70
  14. 2024Code-Aware Prompting: A study of Coverage Guided Test Generation in Regression Setting using LLMcited by 64
  15. 2024TestGenEval: A Real World Unit Test Generation and Test Completion Benchmarkcited by 52
  16. 2024TESTEVAL: Benchmarking Large Language Models for Test Case Generationcited by 40
  17. 2023ChatGPT vs SBST: A Comparative Assessment of Unit Test Suite Generationcited by 32
  18. 2023Learning Deep Semantics for Test Completioncited by 31

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 4.

8 papers.