Skip to content

[Enhancement]: dependsOn() implementation #1791

Open

Description

Proposal

As a test developer, I would be interested to provision a cluster of services depending on each other. For that the Java implementation offers the dependsOn() implementation: https://java.testcontainers.org/features/startup_and_waits/#depending-on-another-container . It would be nice to have a similar feature in Testcontainers for Go.

Why not Docker Compose?. As discussed on Slack, at the moment Docker Compose in Testcontainers for Go is considered rather temporary and not stable. So it is better. My experiments in Testcontainers for C/C++ show that it rather does not work at all with recent API versions. So it is preferred to have a native implementation instead.

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions