1 个仓库
Executing custom scripts within a MongoDB container to verify database state.
Distinct from MongoDB Integrations: Distinct from general integrations by focusing on internal script execution and exit code capture.
Explore 1 awesome GitHub repository matching data & databases · MongoDB Script Execution. Refine with filters or upvote what's useful.
Testcontainers for .NET 是一个 Docker 测试库和集成测试框架,旨在管理一次性容器的生命周期。它提供高级抽象作为 Docker API 包装器来配置临时基础设施,用真实的数据库、消息队列和搜索引擎实例替换 Mock,以确保隔离且可重现的测试环境。 该项目的特色在于构建器-配置-容器模式和动态端口绑定机制,可防止并发测试执行期间的冲突。它通过虚拟网络编排和网络别名实现可靠的服务间通信,并通过针对 HTTP 端点和 TCP 端口的基于轮询的就绪检查确保服务可用性。 该库为关系型、NoSQL 和向量数据库以及消息代理和云服务模拟器提供了专门的模块。其功能范围扩展到容器镜像配置、日志收集和网络状况模拟,以验证系统弹性。 它通过标准化的环境变量和配置文件支持连接到本地和远程 Docker 运行时。
Executes custom scripts inside a MongoDB database container and captures the exit code and output to verify state.