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