Skip to main content
Total Downloads
107.2M
107,173,938
Published
Jul 16, 2019
Latest stable version

Install

.NET CLI
dotnet add package Testcontainers --version 0.0.2.107
Package Manager Console
Install-Package Testcontainers -Version 0.0.2.107
PackageReference
<PackageReference Include="Testcontainers" Version="0.0.2.107" />

Frameworks

.NETStandard2.0

Dependencies

Docker.Dotnet
.NETStandard2.0
[3.125.2, )
MySql.Data
.NETStandard2.0
[6.10.6, )
Newtonsoft.Json
.NETStandard2.0
[11.0.2, )
Npgsql
.NETStandard2.0
[4.0.2, )
Polly
.NETStandard2.0
[6.0.1, )
RabbitMQ.Client
.NETStandard2.0
[5.1.0, )
StackExchange.Redis
.NETStandard2.0
[1.2.6, )
StyleCop.Analyzers
.NETStandard2.0
[1.0.2, )

Adoption guide

Teams that need production-like dependency behavior in CI, including version pinning and reproducible startup contracts.

Integration Testing guide
Why it appears in the guide: 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.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.