Skip to content

Testcontainers integration with @SpringBootTest: @Bean ComposeContainer is not supported #46643

@italktothewind

Description

@italktothewind

This approach https://docs.spring.io/spring-boot/reference/testing/testcontainers.html#testing.testcontainers.spring-beans does not work when you are using a ComposeContainer (https://www.javadoc.io/static/org.testcontainers/testcontainers/1.19.1/org/testcontainers/containers/ComposeContainer.html).

It doesn't seem to be supported yet, is there any plan to do this?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions