- Notifications
You must be signed in to change notification settings - Fork 38.9k
Closed
Labels
in: testIssues in the test moduleIssues in the test moduletype: enhancementA general enhancementA general enhancement
Milestone
Description
Phil Webb opened SPR-13955 and commented
The @ContextConfiguration annotation is often not really needed if working with a single config. For example:
@RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration public class MyTest { @Test public void sometest() throws Exception { } @Configuration static class Config { @Bean public String myBean() { return "Hello"; } } }Issue Links:
- Allow AbstractTestContextBootstrapper to provide default ContextConfigurationAttributes [SPR-13949] #18521 Allow AbstractTestContextBootstrapper to provide default ContextConfigurationAttributes
- Allow AbstractTestContextBootstrapper to provide default ContextConfigurationAttributes [SPR-13949] #18521 Allow AbstractTestContextBootstrapper to provide default ContextConfigurationAttributes ("supersedes")
Referenced from: commits 2244461
Metadata
Metadata
Assignees
Labels
in: testIssues in the test moduleIssues in the test moduletype: enhancementA general enhancementA general enhancement