Skip to content

Commit 7f25b4f

Browse files
Clarify which Spring modules are involved in support of Testcontainers
Co-authored-by: Eddú Meléndez Gonzales <[email protected]> Signed-off-by: thecooldrop <[email protected]>
1 parent 36b961f commit 7f25b4f

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/testing

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/testing/testcontainers.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ In this case the lifecycle of the container instance is managed by Testcontainer
2323

2424
== Using via Spring managed beans
2525

26-
The containers provided by Testcontainers framework can be managed by Spring Boot as beans.
26+
Spring Boot supports Testcontainers modules, see the list [here](https://docs.spring.io/spring-boot/reference/testing/testcontainers.html#testing.testcontainers.service-connections)
2727
This method is often used in combination with javadoc:org.springframework.boot.testcontainers.service.connection.ServiceConnection[format=annotation].
2828

2929
To use Testcontainer contains as Spring beans we need to create a configuration class declaring the container as bean:

0 commit comments

Comments
 (0)