Annotation Interface ImportTestcontainers
@Target(TYPE)
@Retention(RUNTIME)
@Documented
@Import(org.springframework.boot.testcontainers.context.ImportTestcontainersRegistrar.class)
public @interface ImportTestcontainers
Imports idiomatic Testcontainer declaration classes into the Spring
 
ApplicationContext. The following elements will be considered from the imported
 classes:
 - All static fields that declare 
Containervalues. - All 
@DynamicPropertySourceannotated methods. 
- Since:
 - 3.1.0
 - Author:
 - Phillip Webb
 
- 
Optional Element Summary
Optional Elements 
- 
Element Details
- 
value
Class<?>[] valueThe declaration classes to import. If novalueis defined then the class that declares the@ImportTestcontainersannotation will be searched.- Returns:
 - the definition classes to import
 
- Default:
 - {}
 
 
 -