testcontainers/testcontainers-dotnet
A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
Star History
Momentum
+109
STARS · LAST 30 DAYS
4
PER DAY
#51
MOST-STARRED C#
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +28 | +109 | +360 |
| Per day | 4 | 4 | 4 |
| Forks gained | +2 | +7 | +18 |
testcontainers-dotnet gained 109 stars in the last 30 days, about 4 a day, and now has 4.4K. It is about 8 years old and has averaged roughly 545 stars a year. It ranks #51 among C# repositories and #1,175 across all languages on GitHubRepo.
Trending Record
2
DAYS ON TRENDING
#1592
BEST RANK
Sep 27, 2026
FIRST APPEARANCE
Active
STATUS TODAY
testcontainers-dotnet has maintained a continuous presence across global trending indexes, peaking at #1592. Below is the 30-day activity profile:
💡 Overview
testcontainers-dotnet is an open-source project written in C#: A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
Engineered for speed, consistency, and developer ease, it solves common hurdles in automation, docker, dotnet. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
⚡ Key Features
Optimized execution pipeline written in C# for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ docker pull testcontainers/testcontainers-dotnet
⚙ System Requirements
Platforms
- • macOS
- • Linux
- • Windows
Runtime & Dependencies
C# environment and standard tooling
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
🧠 How It Works
testcontainers-dotnet coordinates its core functionality through a modular C# pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
🎯 Production Use Cases
Autonomous AI Agents
Orchestrate intelligent workflows and tool-calling routines with testcontainers-dotnet.
Model Inference & Prompting
Integrate fast, local or cloud-hosted generative AI models directly into production code.
Context Memory & RAG
Augment language models with dynamic vector retrieval and structured project memory.
Developer Productivity
Automate repetitive engineering tasks, code generation, and test creation using AI agents.
🚀 Getting Started
Install testcontainers-dotnet using your package manager: `docker pull testcontainers/testcontainers-dotnet`
Initialize your project workspace or configuration file for testcontainers-dotnet.
Import testcontainers-dotnet into your codebase or invoke it directly from your terminal.
Execute your test suite or run `testcontainers-dotnet --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 Who Should Use This
Developers and engineering teams building with C#, seeking reliable, tested, and actively maintained tooling for production workloads.
🏆 Nearby in the Rankings
testcontainers/testcontainers-dotnet is currently ranked #1,175 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #1,169 | LibreOffice/core | C++ | ★ 4.4K | Compare ↗ |
| #1,171 | alextselegidis/easyappointments | PHP | ★ 4.4K | Compare ↗ |
| #1,172 | micheleg/dash-to-dock | JavaScript | ★ 4.4K | Compare ↗ |
| #1,173 | SteamClientHomebrew/Millennium | C++ | ★ 4.4K | Compare ↗ |
| #1,174 | rkyv/rkyv | Rust | ★ 4.4K | Compare ↗ |
| #1,175 | testcontainers/testcontainers-dotnet This Project | C# | ★ 4.4K | |
| #1,175 | dankogai/js-base64 | JavaScript | ★ 4.4K | Compare ↗ |
| #1,177 | radzenhq/radzen-blazor | C# | ★ 4.4K | Compare ↗ |
| #1,178 | mongodb/mongo-python-driver | Python | ★ 4.4K | Compare ↗ |
| #1,179 | BraveOPotato/FckSignups | TypeScript | ★ 4.4K | Compare ↗ |
| #1,180 | nubjs/nub | Rust | ★ 4.4K | Compare ↗ |
Frequently Asked Questions
What does testcontainers-dotnet do? +
A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
What language is testcontainers-dotnet written in? +
The primary language is C#. Topics include: automation, docker, dotnet, hacktoberfest, testcontainers.
Is testcontainers-dotnet actively maintained? +
Yes, the last recorded push was on Sep 27, 2026 with 42 open issues being tracked.
How many stars does testcontainers-dotnet have? +
testcontainers-dotnet has 4,361 stars and 356 forks on GitHub.
How does testcontainers-dotnet rank among GitHub repositories? +
With 4,361 stars, testcontainers/testcontainers-dotnet is ranked #1,175 globally across all repositories tracked on GitHubRepo and #51 among C# projects.
What license is testcontainers-dotnet distributed under? +
The repository reports a MIT license. Always verify the repository LICENSE file for legal terms.