Testcontainers 4.0.0

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Testcontainers --version 4.0.0                
NuGet\Install-Package Testcontainers -Version 4.0.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.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Testcontainers --version 4.0.0                
#r "nuget: Testcontainers, 4.0.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.0.0

// Install Testcontainers as a Cake Tool
#tool nuget:?package=Testcontainers&version=4.0.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 is compatible.  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. 
.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 (77)

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

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

Repository Stars
dotnet/orleans
Cloud Native application framework for .NET
sshnet/SSH.NET
SSH.NET is a Secure Shell (SSH) library for .NET, optimized for parallelism.
Cysharp/MagicOnion
Unified Realtime/API framework for .NET platform and Unity.
robinrodricks/FluentFTP
An FTP and FTPS client for .NET & .NET Standard, optimized for speed. Provides extensive FTP commands, File uploads/downloads, SSL/TLS connections, Automatic directory listing parsing, File hashing/checksums, File permissions/CHMOD, FTP proxies, FXP support, UTF-8 support, Async/await support, Powershell support and more. Written entirely in C#.
eventflow/EventFlow
Async/await first CQRS+ES and DDD framework for .NET
Version Downloads Last updated
4.1.0-beta.11746011829 768 11/8/2024
4.0.0 210,954 11/1/2024
3.10.0 1,298,321 9/3/2024
3.9.0 2,283,720 6/16/2024
3.8.0 2,554,787 3/19/2024
3.8.0-beta.8238206979 5,351 3/11/2024
3.7.0 2,217,446 1/9/2024
3.6.0 1,397,637 11/10/2023
3.5.0 1,350,787 9/7/2023
3.4.0 539,518 8/10/2023
3.3.0 1,034,558 6/27/2023
3.2.0 641,806 5/23/2023
3.1.0 226,830 4/28/2023
3.0.0 727,848 3/8/2023
2.4.0 542,663 2/1/2023
2.3.0 978,175 12/12/2022
2.3.0-beta.3547636764 2,901 11/25/2022
2.2.0 1,124,351 10/27/2022
2.2.0-beta.3336066153 3,569 10/27/2022
2.2.0-beta.3311860540 3,752 10/24/2022
2.2.0-beta.3290165812 1,235 10/20/2022
2.2.0-beta.3123645733 10,090 9/25/2022
2.2.0-beta.2835065501 50,971 8/10/2022
2.2.0-beta.2797896103 6,032 8/4/2022
2.2.0-beta.2760496496 1,371 7/29/2022
2.1.0 1,021,747 7/20/2022
2.1.0-beta.2698157448 11,076 7/19/2022
2.1.0-beta.2561986470 1,376 6/25/2022
2.1.0-beta.2543038937 173 6/22/2022
2.1.0-beta.2536126951 182 6/21/2022
2.0.1 50,613 6/22/2022
2.0.0 5,374 6/21/2022
1.7.0-beta.2530372824 263 6/20/2022
0.0.2.107 26,205 7/16/2019
0.0.2.106 1,250 7/11/2019
0.0.2.64 7,167 2/15/2019
0.0.2.57 3,050 9/27/2018
0.0.2.55 1,761 7/20/2018
0.0.2.53 1,664 7/4/2018
0.0.2-alpha 1,526 6/22/2018
0.0.1-alpha 1,424 3/7/2018