Testcontainers.MongoDb
                             
                            
                                4.8.1
                            
                        
                            
                                
                                
                                    Prefix Reserved
                                
                            
                    dotnet add package Testcontainers.MongoDb --version 4.8.1
NuGet\Install-Package Testcontainers.MongoDb -Version 4.8.1
<PackageReference Include="Testcontainers.MongoDb" Version="4.8.1" />
<PackageVersion Include="Testcontainers.MongoDb" Version="4.8.1" />
<PackageReference Include="Testcontainers.MongoDb" />
paket add Testcontainers.MongoDb --version 4.8.1
#r "nuget: Testcontainers.MongoDb, 4.8.1"
#:package Testcontainers.MongoDb@4.8.1
#addin nuget:?package=Testcontainers.MongoDb&version=4.8.1
#tool nuget:?package=Testcontainers.MongoDb&version=4.8.1
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 - 2025 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 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. 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 (>= 4.8.1)
 
- 
                                                    .NETStandard 2.1- Testcontainers (>= 4.8.1)
 
- 
                                                    net8.0- Testcontainers (>= 4.8.1)
 
- 
                                                    net9.0- Testcontainers (>= 4.8.1)
 
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Testcontainers.MongoDb:
| Package | Downloads | 
|---|---|
| Reo.Core.IntegrationTesting Package Description | 
GitHub repositories (21)
Showing the top 20 popular GitHub repositories that depend on Testcontainers.MongoDb:
| Repository | Stars | 
|---|---|
| microsoft/semantic-kernel 
                                                            Integrate cutting-edge LLM technology quickly and easily into your apps
                                                         | |
| 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
                                                         | |
| Squidex/squidex 
                                                            Headless CMS and Content Managment Hub
                                                         | |
| asynkron/protoactor-dotnet 
                                                            Proto Actor - Ultra fast distributed actors for Go, C# and Java/Kotlin
                                                         | |
| dotnetcore/AgileConfig 
                                                            基于.NET Core开发的轻量级分布式配置中心 / .NET  Core lightweight configuration server
                                                         | |
| SteveDunn/Vogen 
                                                            A semi-opinionated library which is a source generator and a code analyser. It Source generates Value Objects
                                                         | |
| 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.
                                                         | |
| CodeMazeBlog/CodeMazeGuides 
                                                            The main repository for all the Code Maze guides
                                                         | |
| 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.
                                                         | |
| elastic/apm-agent-dotnet | |
| dj-nitehawk/MongoDB.Entities 
                                                            A data access library for MongoDB with an elegant api, LINQ support and built-in entity relationship management
                                                         | |
| Eventuous/eventuous 
                                                            Event Sourcing library for .NET
                                                         | |
| meysamhadeli/booking-modular-monolith 
                                                            A practical Modular Monolith architecture with the latest technologies and architecture like Vertical Slice Architecture, Event Driven Architecture, CQRS, DDD, gRpc, Masstransit, and Aspire in .Net 9.
                                                         | |
| 0xced/Chisel 
                                                            Remove unwanted dependencies from your dotnet projects
                                                         | |
| gottscj/Hangfire.Mongo 
                                                            Mongo DB support for Hangfire
                                                         | |
| mehdihadeli/vertical-slice-api-template 
                                                            🍰 An asp.net core template based on .Net 9, Vertical Slice Architecture, CQRS, Minimal APIs, OpenTelemetry, API Versioning and OpenAPI.
                                                         | |
| IoTSharp/EntityFrameworkCore.Taos 
                                                            EntityFramework, EF Core, ADO.NET, ORM,Stmt,TDengine
                                                         | |
| CommunityToolkit/Datasync 
                                                            A collection of libraries that implement a client-server system used for synchronizing data from a cloud-based database.
                                                         | 
| Version | Downloads | Last Updated | 
|---|---|---|
| 4.8.1 | 13,557 | 10/22/2025 | 
| 4.8.0 | 9,652 | 10/19/2025 | 
| 4.7.0 | 159,343 | 8/28/2025 | 
| 4.6.0 | 302,047 | 6/13/2025 | 
| 4.5.0 | 40,868 | 6/5/2025 | 
| 4.4.0 | 210,406 | 4/14/2025 | 
| 4.3.0 | 405,393 | 2/24/2025 | 
| 4.2.0 | 61,599 | 2/10/2025 | 
| 4.1.0 | 286,887 | 12/9/2024 | 
| 4.1.0-beta.12035377103 | 225 | 11/26/2024 | 
| 4.1.0-beta.11746011829 | 460 | 11/8/2024 | 
| 4.0.0 | 293,701 | 11/1/2024 | 
| 3.10.0 | 382,014 | 9/3/2024 | 
| 3.9.0 | 421,787 | 6/16/2024 | 
| 3.8.0 | 384,795 | 3/19/2024 | 
| 3.8.0-beta.8238206979 | 470 | 3/11/2024 | 
| 3.7.0 | 173,555 | 1/9/2024 | 
| 3.6.0 | 193,970 | 11/10/2023 | 
| 3.5.0 | 141,919 | 9/7/2023 | 
| 3.4.0 | 37,113 | 8/10/2023 | 
| 3.3.0 | 56,120 | 6/27/2023 | 
| 3.2.0 | 31,836 | 5/23/2023 | 
| 3.1.0 | 28,573 | 4/28/2023 | 
| 3.0.0 | 106,305 | 3/8/2023 |