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
abstract fun annotationType(): Class<out Annotation>
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
Specify whether @Bean methods should get proxied in order to enforce bean lifecycle behavior, e.g.
Link copied to clipboard
abstract fun toString(): String
Link copied to clipboard
abstract fun value(): String
Explicitly specify the name of the Spring bean definition associated with this Configuration class.