Testcontainers
v3.8.0-beta.8238206979Pre-release
net6.0net8.0.NETStandard2.0.NETStandard2.1
Testcontainers for .NET is a library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
Published
Mar 11, 2024
2y ago
Total Downloads
122.6M
122,597,442
Install
dotnet add package Testcontainers --version 3.8.0-beta.8238206979
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard |
README
Changes from Previous Version
v3.7.0v3.8.0-beta.8238206979
Added Frameworks
net6.0net8.0
Added Dependencies
Docker.DotNet(net6.0)
Docker.DotNet.X509(net6.0)
SSH.NET(net6.0)
SharpZipLib(net6.0)
Docker.DotNet(net8.0)
Docker.DotNet.X509(net8.0)
SSH.NET(net8.0)
SharpZipLib(net8.0)
Microsoft.Bcl.HashCode(.NETStandard2.0)
Microsoft.Bcl.HashCode(.NETStandard2.1)
Adoption Assessment
Teams that need production-like dependency behavior in CI, including version pinning and reproducible startup contracts.
This version is marked prerelease. Validate its API and upgrade path before production use.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.The published metadata declares 28 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.
Editorial Note: Provision disposable Docker-based dependencies (databases, brokers, caches) directly from tests. Trade-off: Container startup overhead and host prerequisites require thoughtful fixture reuse and pipeline tuning.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.