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 915 11/8/2024
4.0.0 228,050 11/1/2024
3.10.0 1,317,596 9/3/2024
3.9.0 2,297,065 6/16/2024
3.8.0 2,562,110 3/19/2024
3.8.0-beta.8238206979 5,377 3/11/2024
3.7.0 2,222,131 1/9/2024
3.6.0 1,400,336 11/10/2023
3.5.0 1,352,234 9/7/2023
3.4.0 540,031 8/10/2023
3.3.0 1,036,076 6/27/2023
3.2.0 642,268 5/23/2023
3.1.0 227,011 4/28/2023
3.0.0 728,271 3/8/2023
2.4.0 542,977 2/1/2023
2.3.0 979,257 12/12/2022
2.3.0-beta.3547636764 2,903 11/25/2022
2.2.0 1,124,776 10/27/2022
2.2.0-beta.3336066153 3,571 10/27/2022
2.2.0-beta.3311860540 3,754 10/24/2022
2.2.0-beta.3290165812 1,237 10/20/2022
2.2.0-beta.3123645733 10,096 9/25/2022
2.2.0-beta.2835065501 50,975 8/10/2022
2.2.0-beta.2797896103 6,036 8/4/2022
2.2.0-beta.2760496496 1,375 7/29/2022
2.1.0 1,022,478 7/20/2022
2.1.0-beta.2698157448 11,085 7/19/2022
2.1.0-beta.2561986470 1,380 6/25/2022
2.1.0-beta.2543038937 177 6/22/2022
2.1.0-beta.2536126951 186 6/21/2022
2.0.1 50,651 6/22/2022
2.0.0 5,378 6/21/2022
1.7.0-beta.2530372824 267 6/20/2022
0.0.2.107 26,232 7/16/2019
0.0.2.106 1,252 7/11/2019
0.0.2.64 7,169 2/15/2019
0.0.2.57 3,052 9/27/2018
0.0.2.55 1,763 7/20/2018
0.0.2.53 1,666 7/4/2018
0.0.2-alpha 1,530 6/22/2018
0.0.1-alpha 1,428 3/7/2018