Prior to this commit, paths configured via the scripts attribute in
@Sql were required to be final paths without dynamic placeholders;
however, being able to make script paths dependent on the current
environment can be useful in certain testing scenarios.
This commit introduces support for property placeholders (${...}) in
@Sql script paths which will be replaced by properties available in
the Environment of the test's ApplicationContext.
Closes gh-33114
|
||
|---|---|---|
| .. | ||
| annotations | ||
| mockmvc | ||
| testcontext-framework | ||
| annotations.adoc | ||
| appendix.adoc | ||
| integration.adoc | ||
| introduction.adoc | ||
| mockmvc.adoc | ||
| resources.adoc | ||
| spring-mvc-test-client.adoc | ||
| support-jdbc.adoc | ||
| testcontext-framework.adoc | ||
| unit.adoc | ||
| webtestclient.adoc | ||