-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Component/s: Containerized Testing
-
None
-
Needed
-
Summary
What is the problem or use case, what are we trying to achieve?
- Testcontainers is the de facto standard for integration testing with containerized dependencies across languages (Java, .NET, Python, etc.).
- Each language ecosystem has its own Testcontainers implementation and documentation (e.g. testcontainers-python, Testcontainers for .NET, Testcontainers for Java).
- MongoDB support in these ecosystems is inconsistent today:
- Different (or missing) MongoDB modules per platform.
- Divergent choices of Docker images and configuration (standalone vs replica set, auth, TLS, etc.).
- Inconsistent or ad-hoc readiness / wait strategies.
Motivation
Who is the affected end user?
Who are the stakeholders?
- This ticket is to standardize MongoDB-related Testcontainers content across all driver teams, so both:
- Our internal driver tests use consistent patterns.
- Our users see a coherent, idiomatic MongoDB story in Testcontainers docs for their language.
How does this affect the end user?
Are they blocked? Are they annoyed? Are they confused?
End users (including MongoDB devs) should expect support across all languages they want to work with testcontainers on.
How likely is it that this problem or use case will occur?
Main path? Edge case?
If the problem does occur, what are the consequences and how severe are they?
Minor annoyance at a log message? Performance concern? Outage/unavailability? Failover can't complete?
Is this issue urgent?
Does this ticket have a required timeline? What is it?
Is this ticket required by a downstream team?
Needed by e.g. Atlas, Shell, Compass?
Is this ticket only for tests?
Does this ticket have any functional impact, or is it just test improvements?
Acceptance Criteria
What specific requirements must be met to consider the design phase complete?
Establish a cross-driver standard for MongoDB Testcontainers support, and apply it across all driver ecosystems that use (or plan to use) Testcontainers, with a focus on:
- Docker images (must include Atlas-related coverage, plus any additional required images).
- Readiness / wait logic that works consistently for Atlas and other images.
- Configuration & enabled features (e.g. replica sets as the default where appropriate).