Testcontainers 4.1.0

Prefix Reserved
dotnet add package Testcontainers --version 4.1.0                
NuGet\Install-Package Testcontainers -Version 4.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Testcontainers" Version="4.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Testcontainers --version 4.1.0                
#r "nuget: Testcontainers, 4.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Testcontainers as a Cake Addin
#addin nuget:?package=Testcontainers&version=4.1.0

// Install Testcontainers as a Cake Tool
#tool nuget:?package=Testcontainers&version=4.1.0                

Testcontainers

Open in GitHub Codespaces

NuGet CI/CD Alert Status Coverage

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.

Testcontainers Banner

Read the documentation here

License

See LICENSE.

Copyright (c) 2019 - 2024 Andre Hofmeister and other authors.

See contributors for all contributors.


Join our Slack workspace | Testcontainers OSS | Testcontainers Cloud

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (87)

Showing the top 5 NuGet packages that depend on Testcontainers:

Package Downloads
Testcontainers.PostgreSql

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

Testcontainers.MsSql

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

Testcontainers.Redis

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

Testcontainers.Azurite

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

Testcontainers.MongoDb

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

GitHub repositories (55)

Showing the top 5 popular GitHub repositories that depend on Testcontainers:

Repository Stars
ardalis/CleanArchitecture
Clean Architecture Solution Template: A starting point for Clean Architecture with ASP.NET Core
duplicati/duplicati
Store securely encrypted backups in the cloud!
dotnet/orleans
Cloud Native application framework for .NET
sshnet/SSH.NET
SSH.NET is a Secure Shell (SSH) library for .NET, optimized for parallelism.
dotnet/aspire
Tools, templates, and packages to accelerate building observable, production-ready apps
Version Downloads Last updated
4.1.0 90,697 12/9/2024
4.1.0-beta.12035377103 1,108 11/26/2024
4.1.0-beta.11746011829 2,141 11/8/2024
4.0.0 652,864 11/1/2024
3.10.0 1,698,655 9/3/2024
3.9.0 2,572,379 6/16/2024
3.8.0 2,737,486 3/19/2024
3.8.0-beta.8238206979 5,647 3/11/2024
3.7.0 2,333,705 1/9/2024
3.6.0 1,462,603 11/10/2023
3.5.0 1,387,186 9/7/2023
3.4.0 550,714 8/10/2023
3.3.0 1,068,819 6/27/2023
3.2.0 658,584 5/23/2023
3.1.0 231,090 4/28/2023
3.0.0 740,728 3/8/2023
2.4.0 551,916 2/1/2023
2.3.0 999,690 12/12/2022
2.3.0-beta.3547636764 2,905 11/25/2022
2.2.0 1,135,240 10/27/2022
2.2.0-beta.3336066153 3,571 10/27/2022
2.2.0-beta.3311860540 3,758 10/24/2022
2.2.0-beta.3290165812 1,237 10/20/2022
2.2.0-beta.3123645733 10,294 9/25/2022
2.2.0-beta.2835065501 50,990 8/10/2022
2.2.0-beta.2797896103 6,049 8/4/2022
2.2.0-beta.2760496496 1,378 7/29/2022
2.1.0 1,037,210 7/20/2022
2.1.0-beta.2698157448 11,278 7/19/2022
2.1.0-beta.2561986470 1,383 6/25/2022
2.1.0-beta.2543038937 177 6/22/2022
2.1.0-beta.2536126951 186 6/21/2022
2.0.1 51,189 6/22/2022
2.0.0 5,513 6/21/2022
1.7.0-beta.2530372824 269 6/20/2022
0.0.2.107 26,365 7/16/2019
0.0.2.106 1,259 7/11/2019
0.0.2.64 7,176 2/15/2019
0.0.2.57 3,060 9/27/2018
0.0.2.55 1,769 7/20/2018
0.0.2.53 1,680 7/4/2018
0.0.2-alpha 1,536 6/22/2018
0.0.1-alpha 1,431 3/7/2018