testcontainers/testcontainers-dotnet

A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.

View on GitHub ↗Jump to charts ↓Open shareable report →

testcontainers/testcontainers-dotnet has 4k+ stars and 350+ forks on GitHub, is written in C#, and was last pushed on Oct 17, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 1 hour ago
Added to GitGenius on March 24th, 2024
Created on February 16th, 2019
Open Issues & Pull Requests: 49 (+0)
GitHub issues: Enabled
Number of forks: 361
Total Stargazers: 4,369 (+0)
Total Subscribers: 32 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 7.6 hours
Mean response time: 65.9 days
90th percentile: 192.9 days
Tracked items: 250

Maintainer activity

1 person did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 11, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits. How this is counted.

How this project is maintained

About 6% of issues opened in the past year have never received a reply. 85% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "question" is answered fastest, typically in under an hour, while "module" waits about 4 days. 86% of issues opened in the past year have been closed, leaving a working backlog. Three people close 80% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 34
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 482 days
Stale 30+ days: 29
Stale 90+ days: 27

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 1

Top labels

  • enhancement (269)
  • bug (185)
  • question (128)
  • module (56)
  • help wanted (22)
  • good first issue (11)
  • duplicate (10)
  • documentation (4)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Testcontainers for .NET is a library designed to support integration testing by providing throwaway instances of Docker containers compatible with all .NET Standard versions. Built on top of the .NET Docker Remote API, the library offers a lightweight implementation that enables developers to spin up isolated containerized services during test execution without requiring manual Docker management or complex setup procedures.

The repository serves the testing and development community by addressing a critical need in modern software development: the ability to test applications against real service dependencies in a controlled, reproducible manner. Rather than mocking external services or relying on shared test environments, developers can use this library to instantiate fresh Docker containers for each test run, ensuring test isolation and eliminating environmental inconsistencies that plague traditional testing approaches.

The project has established itself as a significant tool within the .NET ecosystem, as evidenced by its classification across multiple testing and containerization domains including integration testing, database testing, test automation, microservices testing, and CI/CD pipeline integration. The library's applicability spans local development environments, containerized application testing, and service mocking scenarios, making it relevant for teams adopting Docker-based development workflows.

Activity data reveals sustained engagement with the project.

This concentrated contributor activity suggests a core team managing the project's direction and maintenance. The repository's presence in GitGenius's overlapping contributor analysis alongside microsoft/vscode, microsoft/typescript, and rust-lang/rust indicates that developers working on these major projects also contribute to or engage with Testcontainers for .NET, suggesting cross-pollination of ideas and practices across language ecosystems.

The library is written in C# and maintains comprehensive documentation accessible through its dedicated homepage at dotnet.testcontainers.org. The project is licensed under an open-source license and has been actively developed since 2019, with copyright held by Andre Hofmeister and other contributing authors. The repository's inclusion of topics like automation, docker, dotnet, and hacktoberfest reflects its positioning as both a production-grade tool and a community-friendly project welcoming contributions from developers at various experience levels.