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:
Phil Webb opened SPR-13949 and commented
It's currently possible to use
@BootstrapWithto indicate that a test should have a specific bootstrapper. We use this in Spring Boot to support annotations such as@WebIntegrationTestand many tests end up looking like this.Often the
@SpringApplicationConfigurationannotation ends up being empty and just using the defaults. It would be nice if third-party frameworks could provide a default implementation ofContextConfigurationAttributesin such cases.Issue Links:
@ContextConfigurationto be omitted [SPR-13955] #18528 Allow@ContextConfigurationto be omitted@ContextConfigurationto be omitted [SPR-13955] #18528 Allow@ContextConfigurationto be omitted ("is superseded by")