UniTSyn: A Large-Scale Dataset Capable of Enhancing the Prowess of Large Language Models for Program Testing
Not on the map. Why?
Abstract (arXiv)
The remarkable capability of large language models (LLMs) in generating high-quality code has drawn increasing attention in the software testing community. However, existing code LLMs often demonstrate unsatisfactory capabilities in generating accurate and complete tests since they were trained on code snippets collected without differentiating between code for testing purposes and other code. In this paper, we present a large-scale dataset UniTSyn, which is capable of enhancing the prowess of LLMs for Unit Test Synthesis. Associating tests with the tested functions is crucial for LLMs to infer the expected behavior and the logic paths to be verified. By leveraging Language Server Protocol, UniTSyn achieves the challenging goal of collecting focal-test pairs without per-project execution setups or per-language heuristics that tend to be fragile and difficult to scale. It contains 2.7 million focal-test pairs across five mainstream programming languages, making it possible to be utilized for enhancing the test generation ability of LLMs. The details of UniTSyn can be found in Table 1. Our experiments demonstrate that, by building an autoregressive model based on UniTSyn, we can achieve significant benefits in learning and understanding unit test representations, resulting in improved generation accuracy and code coverage across all evaluated programming languages. Code and data will be publicly available.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 32 of its 74 references that are in the map. First posted on arXiv 4 Feb 2024.
Builds on
32 of 74 references.
References · 32
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2023StarCoder: may the source be with you!cited by 790
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
- 2022CodeT: Code Generation with Generated Testscited by 369
20 more
- 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
- 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
- 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 199
- 2023An Empirical Evaluation of Using Large Language Models for Automated Unit Test Generationcited by 193
- 2023SantaCoder: don't reach for the stars!cited by 169
- 2020A Transformer-based Approach for Source Code Summarizationcited by 129
- 2023CodeGen2: Lessons for Training LLMs on Programming and Natural Languagescited by 124
- 2020Unit Test Case Generation with Transformers and Focal Contextcited by 118
- 2019A Neural Model for Generating Natural Language Summaries of Program Subroutinescited by 76
- 2021TOGA: A Neural Method for Test Oracle Generationcited by 57
- 2020On Learning Meaningful Assert Statements for Unit Test Casescited by 42
- 2023A3Test: Assertion-Augmented Automated Test Case Generationcited by 33
- 2023Learning Deep Semantics for Test Completioncited by 31
- 2023CAT-LM: Training Language Models on Aligned Code And Testscited by 28
- 2018Angora: Efficient Fuzzing by Principled Searchcited by 15
- 2023Understanding Programs by Exploiting (Fuzzing) Test Casescited by 13
- 2023The Program Testing Ability of Large Language Models for Codecited by 11
- 2023Code Representation Pre-training with Complements from Program Executionscited by 8
- 2019Matryoshka: Fuzzing Deeply Nested Branchescited by 4
- 2021The Specification Language Server Protocol: A Proposal for Standardised LSP Extensionscited by 2
Built on by
Citing papers per year: 2024: 1; 2025: 3; 2026: 1.
5 papers.
- 2025Hallucination to Consensus: Multi-Agent LLMs for End-to-End JUnit Test Generationcited by 8
- 2025Nexus: Execution-Grounded Multi-Agent Test Oracle Synthesiscited by 4
- 2024FuzzAug: Data Augmentation by Coverage-guided Fuzzing for Neural Test Generationcited by 3
- 2025Large Language Models for Software Testing: A Research Roadmapcited by 2
- 2026Invariant Pretraining for Robust Code Representationscited by 0
- 2026Invariant Pretraining for Robust Code Representations15 Aug 2026
- 2025Nexus: Execution-Grounded Multi-Agent Test Oracle Synthesis30 Oct 2025
- 2025Large Language Models for Software Testing: A Research Roadmap29 Sep 2025
- 2025Hallucination to Consensus: Multi-Agent LLMs for End-to-End JUnit Test Generation3 Jun 2025
- 2024FuzzAug: Data Augmentation by Coverage-guided Fuzzing for Neural Test Generation12 Jun 2024