@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Inherited public @interface TestPropertySources
@TestPropertySources
is a container for one or more
@TestPropertySource
declarations.
Note, however, that use of the @TestPropertySources
container is
completely optional since @TestPropertySource
is a
repeatable annotation.
As of Spring Framework 5.3, this annotation will be inherited from an
enclosing test class by default. See
@NestedTestConfiguration
for details.
Modifier and Type | Required Element and Description |
---|---|
TestPropertySource[] |
value
An array of one or more
@TestPropertySource
declarations. |
public abstract TestPropertySource[] value
@TestPropertySource
declarations.