Repository-Context-Aware Unit Test Generation Dataset

#unit test generation #dependency-aware code analysis #project testing convention adaptation #software testing automation #repository-aware test development #software quality assurance
Records
6600
Size
0.4GB
Format
JSON
Provider
MOBIUSI INCMOBIUSI INC
Updated
v1.02026-11-04
AI Analysis & Value Prop

Each sample pairs target source code with repository context, including the target file path, relevant module interfaces, existing test conventions, repository information, and generated unit tests; programming language and test framework are also identified. The examples help models learn to account for dependencies, project configuration, and established testing practices when writing tests for real codebases. The dataset is suited to code supervised fine-tuning, developer tool training, and evaluation of unit test generation.

Overview

Dataset Insights

Preview

Sample Examples

sample.json
{}

Schema

Technical Specifications

file_namestringFile name
target_codestringThe source code under test, written in the repository's programming language.
test_frameworkstringThe test framework used by the generated unit tests, inferred from repository context and existing test conventions.
target_file_pathstringThe repository-relative path to the target source file.
repository_contextstringAdditional repository information needed to understand dependencies, configuration, and test setup.
generated_test_codestringUnit test code generated for the provided target code and repository context.
programming_languagestringThe language used by the target code and generated unit tests.
existing_test_conventionsstringProject-specific testing patterns, assertions, fixtures, and framework conventions.
related_module_interfacesstringRelevant dependency declarations, module interfaces, and API signatures required to understand the target code.

Trust

Compliance Statement

Authorization Type

Proprietary - Commercial AI Training License (No Redistribution)

Commercial Use

Requires exclusive subscription or authorization contract (monthly or per-invocation charging)

Privacy and Anonymization

No PII, no real company names, simulated scenarios follow industry standards

Compliance System

Compliant with China's Data Security Law / EU GDPR / supports enterprise data access logs

FAQ

Frequently Asked Questions

What does the dataset contain?
Samples include source code under test, its repository-relative path, relevant module interfaces, existing test conventions, and necessary repository context. Each sample also provides paired generated unit test code and test framework information.
Which capabilities can it support?
It supports code supervised fine-tuning and unit test generation evaluation, including training models to understand code dependencies, follow project testing practices, and produce corresponding test code.
How can I access the dataset?
Check the dataset product page for available access methods, delivery formats, and version information. The listing provides the authoritative details.
What are the licensing terms?
The applicable license and usage restrictions are specified on the product page. Review the terms before using the data for commercial training, redistribution, or other specific purposes.

Can't find the data you need?

Post a request and let data providers reach out to you.

Get this Dataset

High-quality data, ready for your next AI breakthrough.

Cite this Work

@dataset{Mobiusi2026,
  title={Repository-Context-Aware Unit Test Generation Dataset},
  author={MOBIUSI INC},
  year={2026},
  url={https://www.mobiusi.com/datasets/87d9b26a144f49de6ac3e315911eb47d?dataset_task_cate_id=8},
  urldate={2026-10-22},
  keywords={unit test generation dataset,code generation training data,repository context code data,code SFT dataset,automated testing data,developer tools dataset,test code generation,software testing dataset},
  version={1.0}
}

Using this in research? Please cite us.

placeholder
placeholder
placeholder
placeholder
placeholder
placeholder
placeholder

Popular Dataset Searches