SpringBootTest or direct use of
 SpringBootContextLoader.@ContextConfiguration(loader=SpringApplicationContextLoader.class) @Documented @Inherited @Retention(value=RUNTIME) @Target(value=TYPE) @Deprecated public @interface SpringApplicationConfiguration
ApplicationContext for integration tests.
 
 Similar to the standard @ContextConfiguration but uses
 Spring Boot's SpringApplicationContextLoader.
SpringBootContextLoader, 
ContextConfiguration| Modifier and Type | Optional Element and Description | 
|---|---|
| Class<?>[] | classesDeprecated.  The context configuration classes. | 
| boolean | inheritInitializersDeprecated.  Should initializers be inherited. | 
| boolean | inheritLocationsDeprecated.  Should context locations be inherited. | 
| Class<? extends ApplicationContextInitializer<? extends ConfigurableApplicationContext>>[] | initializersDeprecated.  The context configuration initializers. | 
| String[] | locationsDeprecated.  The context configuration locations. | 
| String | nameDeprecated.  The name of the context hierarchy level. | 
| Class<?>[] | valueDeprecated.  The context configuration classes. | 
@AliasFor(value="classes") public abstract Class<?>[] value
ContextConfiguration.classes()@AliasFor(annotation=org.springframework.test.context.ContextConfiguration.class, attribute="locations") public abstract String[] locations
ContextConfiguration.locations()@AliasFor(value="value") public abstract Class<?>[] classes
ContextConfiguration.classes()@AliasFor(annotation=org.springframework.test.context.ContextConfiguration.class, attribute="initializers") public abstract Class<? extends ApplicationContextInitializer<? extends ConfigurableApplicationContext>>[] initializers
ContextConfiguration.initializers()@AliasFor(annotation=org.springframework.test.context.ContextConfiguration.class, attribute="inheritLocations") public abstract boolean inheritLocations
true if context locations should be inheritedContextConfiguration.inheritLocations()@AliasFor(annotation=org.springframework.test.context.ContextConfiguration.class, attribute="inheritInitializers") public abstract boolean inheritInitializers
true if context initializers should be inheritedContextConfiguration.inheritInitializers()@AliasFor(annotation=org.springframework.test.context.ContextConfiguration.class, attribute="name") public abstract String name
ContextConfiguration.name()Copyright © 2016 Pivotal Software, Inc.. All rights reserved.