diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testcontainers.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testcontainers.adoc index fd73810968b..f7d806bc270 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testcontainers.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testcontainers.adoc @@ -74,6 +74,7 @@ To do so, add the `@ImportTestcontainers` annotation to your test configuration include::code:MyContainersConfiguration[] TIP: If you don't intend to use the <> but want to use <> instead, remove the `@ServiceConnection` annotation from the `Container` fields. +You can also add `@DynamicPropertySource` annotated methods to your declaration class.