spring-framework / org.springframework.test.context / ContextHierarchy / value

value

val value: Array<ContextConfiguration>

A list of ContextConfiguration instances, each of which defines a level in the context hierarchy.

If you need to merge or override the configuration for a given level of the context hierarchy within a test class hierarchy, you must explicitly name that level by supplying the same value to the name attribute in @ContextConfiguration at each level in the class hierarchy. See the class-level Javadoc for examples.