diff --git a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 43d8b4ae03..034c70bc79 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -329,8 +329,10 @@ via Spring's `Environment` abstraction or via `@ConfigurationProperties`. Spring Boot uses a very particular `PropertySource` order that is designed to allow -sensible overriding of values, properties are considered in the following order: +sensible overriding of values. Properties are considered in the following order: +. {spring-javadoc}/test/context/TestPropertySource.{dc-ext}[`@TestPropertySource`] annotations + on your tests. . Command line arguments. . Properties from `SPRING_APPLICATION_JSON` (inline JSON embedded in an environment variable or system property) . `ServletConfig` init parameters.