Package org.springframework.test.context
Annotation 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.
- Since:
- 5.2
- Author:
- Anatoliy Korovin, Sam Brannen
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionAn array of one or more@TestPropertySource
declarations.
-
Element Details
-
value
TestPropertySource[] valueAn array of one or more@TestPropertySource
declarations.
-