Testcontainers
Testcontainers for .NET is a library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
Install
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard |
README
Testcontainers
Testcontainers for .NET is a library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions. The library is built on top of the .NET Docker remote API and provides a lightweight implementation to support your test environment in all circumstances.

Read the documentation here
License
See LICENSE.
Copyright
Copyright (c) 2019 - 2024 Andre Hofmeister and other authors.
See contributors for all contributors.
Join our Slack workspace | Testcontainers OSS | Testcontainers Cloud
Changes from Previous Version
Adoption Assessment
Teams that need production-like dependency behavior in CI, including version pinning and reproducible startup contracts.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.