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 (88)

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 126,995 12/9/2024
4.1.0-beta.12035377103 1,167 11/26/2024
4.1.0-beta.11746011829 2,277 11/8/2024
4.0.0 686,550 11/1/2024
3.10.0 1,736,807 9/3/2024
3.9.0 2,608,725 6/16/2024
3.8.0 2,761,641 3/19/2024
3.8.0-beta.8238206979 5,731 3/11/2024
3.7.0 2,348,179 1/9/2024
3.6.0 1,470,849 11/10/2023
3.5.0 1,390,137 9/7/2023
3.4.0 551,978 8/10/2023
3.3.0 1,071,702 6/27/2023
3.2.0 659,884 5/23/2023
3.1.0 231,591 4/28/2023
3.0.0 742,353 3/8/2023
2.4.0 552,822 2/1/2023
2.3.0 1,003,264 12/12/2022
2.3.0-beta.3547636764 2,908 11/25/2022
2.2.0 1,136,994 10/27/2022
2.2.0-beta.3336066153 3,574 10/27/2022
2.2.0-beta.3311860540 3,761 10/24/2022
2.2.0-beta.3290165812 1,240 10/20/2022
2.2.0-beta.3123645733 10,409 9/25/2022
2.2.0-beta.2835065501 50,995 8/10/2022
2.2.0-beta.2797896103 6,056 8/4/2022
2.2.0-beta.2760496496 1,381 7/29/2022
2.1.0 1,038,997 7/20/2022
2.1.0-beta.2698157448 11,301 7/19/2022
2.1.0-beta.2561986470 1,386 6/25/2022
2.1.0-beta.2543038937 180 6/22/2022
2.1.0-beta.2536126951 191 6/21/2022
2.0.1 51,298 6/22/2022
2.0.0 5,560 6/21/2022
1.7.0-beta.2530372824 272 6/20/2022
0.0.2.107 26,382 7/16/2019
0.0.2.106 1,264 7/11/2019
0.0.2.64 7,180 2/15/2019
0.0.2.57 3,065 9/27/2018
0.0.2.55 1,775 7/20/2018
0.0.2.53 1,686 7/4/2018
0.0.2-alpha 1,540 6/22/2018
0.0.1-alpha 1,436 3/7/2018