Closed
Description
Phil Webb opened SPR-13949 and commented
It's currently possible to use @BootstrapWith
to indicate that a test should have a specific bootstrapper. We use this in Spring Boot to support annotations such as @WebIntegrationTest
and many tests end up looking like this.
@RunWith(SpringRunner.class)
@WebIntegrationTest
@SpringApplicationConfiguration
Often the @SpringApplicationConfiguration
annotation ends up being empty and just using the defaults. It would be nice if third-party frameworks could provide a default implementation of ContextConfigurationAttributes
in such cases.
Issue Links:
- Allow @ContextConfiguration to be omitted [SPR-13955] #18528 Allow
@ContextConfiguration
to be omitted - Allow @ContextConfiguration to be omitted [SPR-13955] #18528 Allow
@ContextConfiguration
to be omitted ("is superseded by")