Add DynmicPropertySource to ordered list of property sources

Closes gh-32901
This commit is contained in:
Andy Wilkinson 2023-06-15 14:36:38 +01:00
parent 088006ff60
commit 9feb84e234

View File

@ -24,6 +24,7 @@ Sources are considered in the following order:
. Command line arguments.
. `properties` attribute on your tests.
Available on {spring-boot-test-module-api}/context/SpringBootTest.html[`@SpringBootTest`] and the <<features#features.testing.spring-boot-applications.autoconfigured-tests,test annotations for testing a particular slice of your application>>.
. {spring-framework-api}/test/context/DynamicPropertySource.html[`@DynamicPropertySource`] annotations in your tests.
. {spring-framework-api}/test/context/TestPropertySource.html[`@TestPropertySource`] annotations on your tests.
. <<using#using.devtools.globalsettings,Devtools global settings properties>> in the `$HOME/.config/spring-boot` directory when devtools is active.