Annotation Type TestConfiguration
@Target(TYPE) @Retention(RUNTIME) @Documented @Configuration @TestComponent public @interface TestConfiguration
@Configuration
that can be used to define additional beans or customizations for a test. Unlike regular@Configuration
classes the use of@TestConfiguration
does not prevent auto-detection of@SpringBootConfiguration
.- Since:
- 1.4.0
- See Also:
SpringBootTestContextBootstrapper