-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: testIssues in the test moduleIssues in the test modulestatus: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementA general enhancement
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
@SpringApplicationConfigurationOften 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
@ContextConfigurationto be omitted - Allow @ContextConfiguration to be omitted [SPR-13955] #18528 Allow
@ContextConfigurationto be omitted ("is superseded by")
Metadata
Metadata
Assignees
Labels
in: testIssues in the test moduleIssues in the test modulestatus: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementA general enhancement