spring-framework/framework-docs/modules/ROOT/pages/testing/testcontext-framework
Sam Brannen abcad5dbcf Support property placeholders in @⁠Sql script paths
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
2024-07-03 17:16:53 +02:00
..
ctx-management Stop referring to old Spring versions in the reference manual 2024-07-01 18:37:46 +02:00
aot.adoc
application-events.adoc Stop referring to old Spring versions in the reference manual 2024-07-01 18:37:46 +02:00
bean-overriding.adoc Fix formatting 2024-05-24 13:39:55 +02:00
bootstrapping.adoc
ctx-management.adoc
executing-sql.adoc Support property placeholders in @⁠Sql script paths 2024-07-03 17:16:53 +02:00
fixture-di.adoc
key-abstractions.adoc
parallel-test-execution.adoc Document parallel execution regarding @⁠MockitoBean & @⁠MockitoSpyBean 2024-07-01 17:08:09 +02:00
support-classes.adoc Stop referring to old Spring versions in the reference manual 2024-07-01 18:37:46 +02:00
tel-config.adoc
test-execution-events.adoc Stop referring to old Spring versions in the reference manual 2024-07-01 18:37:46 +02:00
tx.adoc
web-scoped-beans.adoc