@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Configuration(proxyBeanMethods=false) @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
.SpringBootTestContextBootstrapper
@AliasFor(annotation=org.springframework.context.annotation.Configuration.class) public abstract String value
Configuration.value()
for details.Copyright © 2019 Pivotal Software, Inc.. All rights reserved.