awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ory avatar

ory/dockertest

0
View on GitHub↗
4,521 星标·268 分支·Go·Apache-2.0·3 次浏览www.ory.com/?utm_source=github&utm_medium=banner&utm_campaign=dockertest↗

Dockertest

dockertest 是一个 Docker 集成测试库和程序化 Go 客户端,用于启动和管理临时容器。它作为一个容器化测试编排器,通过管理依赖服务的生命周期,为集成测试提供隔离环境。

该库通过配置临时容器和网络来处理临时环境编排。它通过服务就绪检查和自动化资源清理来确保环境一致性,以防止测试执行完成后出现泄漏。

该项目涵盖了容器化服务验证,包括检索动态连接详细信息和管理容器网络的能力。它还支持捕获容器日志并在运行中的容器内执行命令。

Features

  • Ephemeral Container Orchestrators - Orchestrates the rapid creation and destruction of isolated containers for integration tests.
  • Docker Integration Testing Libraries - A Go library for booting and managing ephemeral Docker containers to provide isolated environments for integration tests.
  • Integration Testing Utilities - Provides a framework for managing temporary Docker containers within Go tests to verify system behavior.
  • Ephemeral Container Cleanup - Automatically removes temporary Docker containers and networks after test execution to prevent resource leaks.
  • Containerized Service Integrations - Integrates containerized services by verifying readiness and retrieving dynamic connection details for tests.
  • Docker Engine API Clients - Implements a programmatic Go client to interact directly with the Docker Engine API for container management.
  • Service Readiness Checks - Verifies that containers are ready to accept connections using a polling probe with a backoff strategy.
  • Containerized Test Libraries - Provides a programmatic API for controlling containerized dependencies during integration testing.
  • Container Command Executors - Executes shell commands inside running containers and captures the output and exit status.
  • Cloud Resource Cleanups - Automatically releases containers and networks via hooks to prevent resource leaks.
  • Runtime Environment Variable Injections - Injects runtime environment variables into containers via the Docker API to customize service behavior.
  • Container Image Runs - Compiles local configuration into images and starts them as containers.
  • Container Reuse Strategies - Allows attaching to existing containers using image tags to reduce test startup time.
  • Programmatic Docker Clients - Provides a programmatic Go interface for controlling Docker containers, networks, and images.
  • Container Networking Configurations - Creates isolated networks to connect or disconnect containers for inter-service communication.
  • Container Port Mapping - Retrieves dynamically assigned host ports to establish connections between the test suite and internal services.
  • Dynamic Connection Detail Extraction - Extracts mapped host IPs and ports for internal services to establish successful client connections.
  • Deferred Cleanup Registration - Provides automated hooks to register container deletion, ensuring environment teardown after tests.
  • Container Log Retrieval - Retrieves historical logs or streams real-time output from running containers for debugging.

Star 历史

ory/dockertest 的 Star 历史图表ory/dockertest 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Dockertest 的开源替代方案

相似的开源项目,按与 Dockertest 的功能重合度排序。
  • testcontainers/testcontainers-dotnettestcontainers 的头像

    testcontainers/testcontainers-dotnet

    4,317在 GitHub 上查看↗

    Testcontainers for .NET is a Docker testing library and integration testing framework designed to manage the lifecycle of throwaway containers. It provides high-level abstractions as a Docker API wrapper to provision ephemeral infrastructure, replacing mocks with real database, messaging, and search engine instances to ensure isolated and reproducible test environments. The project distinguishes itself through a builder-configuration-container pattern and a dynamic port binding mechanism that prevents collisions during concurrent test execution. It enables reliable service-to-service communic

    C#automationdockerdotnet
    在 GitHub 上查看↗4,317
  • openfga/openfgaopenfga 的头像

    openfga/openfga

    4,793在 GitHub 上查看↗

    OpenFGA is a fine-grained authorization server and policy decision point that implements relationship-based access control. It serves as a centralized authorization service for evaluating access requests and managing relationship tuples across distributed microservices and multi-tenant environments. The engine combines relationship graphs with attribute-based access control, using the Common Expression Language to evaluate dynamic runtime attributes and conditional access rules. It handles complex hierarchies and nested permissions by traversing chains of associations and parent-child links t

    Goabacauthorizationentitlements
    在 GitHub 上查看↗4,793
  • testcontainers/testcontainers-gotestcontainers 的头像

    testcontainers/testcontainers-go

    4,889在 GitHub 上查看↗

    testcontainers-go is a Docker integration testing library for Go designed to provision and manage disposable containerized infrastructure. It functions as a container lifecycle manager and ephemeral infrastructure provisioner, allowing developers to programmatically create, start, and destroy containers as dependencies for automated integration tests. The library acts as a Docker network orchestrator by mapping container ports to random host ports and resolving network endpoints for test clients. This capability enables parallel test execution by preventing network collisions and ensures that

    Goautomationdockergo
    在 GitHub 上查看↗4,889
  • logto-io/logtologto-io 的头像

    logto-io/logto

    12,161在 GitHub 上查看↗

    Logto is an open-source identity provider that serves as a centralized authentication and authorization server for web, mobile, and command-line applications. It implements the OpenID Connect and OAuth 2.1 standards to handle secure user sign-in and the issuance of identity tokens. The platform is specifically designed as a multi-tenant authentication framework for software-as-a-service environments, featuring built-in organization management and tenant isolation. It includes an enterprise single sign-on gateway to integrate external identity providers and supports role-based access control t

    TypeScriptauthenticationauthorizationemail
    在 GitHub 上查看↗12,161
查看 Dockertest 的所有 30 个替代方案→

常见问题解答

ory/dockertest 是做什么的?

dockertest 是一个 Docker 集成测试库和程序化 Go 客户端,用于启动和管理临时容器。它作为一个容器化测试编排器,通过管理依赖服务的生命周期,为集成测试提供隔离环境。

ory/dockertest 的主要功能有哪些?

ory/dockertest 的主要功能包括:Ephemeral Container Orchestrators, Docker Integration Testing Libraries, Integration Testing Utilities, Ephemeral Container Cleanup, Containerized Service Integrations, Docker Engine API Clients, Service Readiness Checks, Containerized Test Libraries。

ory/dockertest 有哪些开源替代品?

ory/dockertest 的开源替代品包括: testcontainers/testcontainers-dotnet — Testcontainers for .NET is a Docker testing library and integration testing framework designed to manage the lifecycle… openfga/openfga — OpenFGA is a fine-grained authorization server and policy decision point that implements relationship-based access… testcontainers/testcontainers-go — testcontainers-go is a Docker integration testing library for Go designed to provision and manage disposable… logto-io/logto — Logto is an open-source identity provider that serves as a centralized authentication and authorization server for… collabnix/dockerlabs — dockerlabs is a collection of educational labs and technical tutorials designed to teach the fundamentals of… zenml-io/zenml — ZenML is an orchestration platform designed for building, deploying, and monitoring reproducible machine learning…