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.
Author
Phillip Webb
Since
1.4.0
See also
Functions
Link copied to clipboard
Link copied to clipboard
Specify whether @Bean methods should get proxied in order to enforce bean lifecycle behavior, e.g.
Link copied to clipboard
Explicitly specify the name of the Spring bean definition associated with this Configuration class.