Testcontainers.PostgreSql
                             
                            
                                3.10.0
                            
                        
                            
                                
                                
                                    Prefix Reserved
                                
                            
                    See the version list below for details.
dotnet add package Testcontainers.PostgreSql --version 3.10.0
NuGet\Install-Package Testcontainers.PostgreSql -Version 3.10.0
<PackageReference Include="Testcontainers.PostgreSql" Version="3.10.0" />
<PackageVersion Include="Testcontainers.PostgreSql" Version="3.10.0" />
<PackageReference Include="Testcontainers.PostgreSql" />
paket add Testcontainers.PostgreSql --version 3.10.0
#r "nuget: Testcontainers.PostgreSql, 3.10.0"
#:package Testcontainers.PostgreSql@3.10.0
#addin nuget:?package=Testcontainers.PostgreSql&version=3.10.0
#tool nuget:?package=Testcontainers.PostgreSql&version=3.10.0
Testcontainers
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.

Read the documentation here
License
See LICENSE.
Copyright
Copyright (c) 2019 - 2024 Andre Hofmeister and other authors.
See contributors for all contributors.
Join our Slack workspace | Testcontainers OSS | Testcontainers Cloud
| Product | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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. | 
- 
                                                    
.NETStandard 2.0
- Testcontainers (>= 3.10.0)
 
 - 
                                                    
.NETStandard 2.1
- Testcontainers (>= 3.10.0)
 
 - 
                                                    
net6.0
- Testcontainers (>= 3.10.0)
 
 - 
                                                    
net8.0
- Testcontainers (>= 3.10.0)
 
 
NuGet packages (18)
Showing the top 5 NuGet packages that depend on Testcontainers.PostgreSql:
| Package | Downloads | 
|---|---|
| 
                                                        
                                                            Reo.Core.IntegrationTesting
                                                        
                                                         Package Description  | 
                                                    |
| 
                                                        
                                                            EasyDesk.CleanArchitecture.Testing.Integration
                                                        
                                                         Utilities for integration testing an application built using the clean architecture packages.  | 
                                                    |
| 
                                                        
                                                            DrifterApps.Seeds.Testing
                                                        
                                                         Package Description  | 
                                                    |
| 
                                                        
                                                            Croco.Testing
                                                        
                                                         Базовая логика для тестирования приложений  | 
                                                    |
| 
                                                        
                                                            ProjectOrigin.TestCommon
                                                        
                                                         This library contains helper classes to write tests.  | 
                                                    
GitHub repositories (47)
Showing the top 20 popular GitHub repositories that depend on Testcontainers.PostgreSql:
| Repository | Stars | 
|---|---|
| 
                                                        
                                                            microsoft/semantic-kernel
                                                        
                                                         
                                                            Integrate cutting-edge LLM technology quickly and easily into your apps
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            elsa-workflows/elsa-core
                                                        
                                                         
                                                            A .NET workflows library
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            dotnet/aspire
                                                        
                                                         
                                                            Aspire is the tool for code-first, extensible, observable dev and deploy.
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            Xabaril/AspNetCore.Diagnostics.HealthChecks
                                                        
                                                         
                                                            Enterprise HealthChecks for ASP.NET Core Diagnostics Package
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            oskardudycz/EventSourcing.NetCore
                                                        
                                                         
                                                            Examples and Tutorials of Event Sourcing in .NET
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            thomhurst/TUnit
                                                        
                                                         
                                                            A modern, fast and flexible .NET testing framework 
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            fluentmigrator/fluentmigrator
                                                        
                                                         
                                                            Fluent migrations framework for .NET
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            evolutionary-architecture/evolutionary-architecture-by-example
                                                        
                                                         
                                                            Navigate the complex landscape of .NET software architecture with our step-by-step, story-like guide. Unpack the interplay between modular monoliths, microservices, domain-driven design, and various architectural patterns. Go beyond the one-size-fits-all solutions and understand how to blend these approaches based on your unique needs.
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            Squidex/squidex
                                                        
                                                         
                                                            Headless CMS and Content Managment Hub
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            asynkron/protoactor-dotnet
                                                        
                                                         
                                                            Proto Actor - Ultra fast distributed actors for Go, C# and Java/Kotlin
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            Giorgi/EntityFramework.Exceptions
                                                        
                                                         
                                                            Strongly typed exceptions for Entity Framework Core. Supports SQLServer, PostgreSQL, SQLite, Oracle and  MySql.
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            dotnetcore/AgileConfig
                                                        
                                                         
                                                            基于.NET Core开发的轻量级分布式配置中心 / .NET  Core lightweight configuration server
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            meysamhadeli/booking-microservices
                                                        
                                                         
                                                             A practical microservices with the latest technologies and architectures like Vertical Slice Architecture, Event Sourcing, CQRS, DDD, gRpc, MongoDB, RabbitMq, Masstransit, and Aspire in .Net 9.
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            IoTSharp/IoTSharp
                                                        
                                                         
                                                            IoTSharp is an open-source IoT platform for data collection, processing, visualization, and device management.
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            mehdihadeli/food-delivery-microservices
                                                        
                                                         
                                                            🍔 A practical and cloud-native food delivery microservices, built with .Net Aspire, .Net 9, MassTransit, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            artiomchi/FlexLabs.Upsert
                                                        
                                                         
                                                            FlexLabs.Upsert is a library that brings UPSERT functionality to common database providers for Entity Framework in their respective native SQL syntax
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            open-telemetry/opentelemetry-dotnet-contrib
                                                        
                                                         
                                                            This repository contains set of components extending functionality of the OpenTelemetry .NET SDK. Instrumentation libraries, exporters, and other components can find their home here.
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            elastic/apm-agent-dotnet
                                                        
                                                         | 
                                                    |
| 
                                                        
                                                            zarusz/SlimMessageBus
                                                        
                                                         
                                                            Lightweight message bus interface for .NET (pub/sub and request-response) with transport plugins for popular message brokers.
                                                         
                                                     | 
                                                    |
| 
                                                        
                                                            yanpitangui/dotnet-api-boilerplate
                                                        
                                                         
                                                            A Dotnet 9.0 WebApi template project. MediatR, Swagger, Mapper, Serilog and more implemented. 
                                                         
                                                     | 
                                                    
| Version | Downloads | Last Updated | 
|---|---|---|
| 4.8.1 | 63,218 | 10/22/2025 | 
| 4.8.0 | 30,973 | 10/19/2025 | 
| 4.7.0 | 525,375 | 8/28/2025 | 
| 4.6.0 | 994,178 | 6/13/2025 | 
| 4.5.0 | 128,253 | 6/5/2025 | 
| 4.4.0 | 830,135 | 4/14/2025 | 
| 4.3.0 | 1,210,199 | 2/24/2025 | 
| 4.2.0 | 342,635 | 2/10/2025 | 
| 4.1.0 | 1,018,094 | 12/9/2024 | 
| 4.1.0-beta.12035377103 | 1,326 | 11/26/2024 | 
| 4.1.0-beta.11746011829 | 3,052 | 11/8/2024 | 
| 4.0.0 | 811,380 | 11/1/2024 | 
| 3.10.0 | 1,433,991 | 9/3/2024 | 
| 3.9.0 | 1,410,654 | 6/16/2024 | 
| 3.8.0 | 1,624,590 | 3/19/2024 | 
| 3.8.0-beta.8238206979 | 2,076 | 3/11/2024 | 
| 3.7.0 | 1,299,211 | 1/9/2024 | 
| 3.6.0 | 660,691 | 11/10/2023 | 
| 3.5.0 | 443,150 | 9/7/2023 | 
| 3.4.0 | 171,198 | 8/10/2023 | 
| 3.3.0 | 422,836 | 6/27/2023 | 
| 3.2.0 | 263,479 | 5/23/2023 | 
| 3.1.0 | 141,219 | 4/28/2023 | 
| 3.0.0 | 301,272 | 3/8/2023 |