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 Polishing 2023-11-28 16:21:58 +01:00
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 Split files 2023-05-04 15:35:05 +01:00
ctx-management.adoc Support declarative ContextCustomizerFactory registration in the TCF 2023-09-13 19:59:50 +02:00
executing-sql.adoc Support property placeholders in @⁠Sql script paths 2024-07-03 17:16:53 +02:00
fixture-di.adoc Migrate to Asciidoctor Tabs 2023-05-04 15:35:05 +01:00
key-abstractions.adoc Extract recurring asciidoc links to attributes, cleanup old doc files 2023-11-21 15:59:24 +01:00
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 Rename listener to CommonCachesTestExecutionListener 2024-03-20 16:37:22 +01:00
test-execution-events.adoc Stop referring to old Spring versions in the reference manual 2024-07-01 18:37:46 +02:00
tx.adoc Extract recurring asciidoc links to attributes, cleanup old doc files 2023-11-21 15:59:24 +01:00
web-scoped-beans.adoc Migrate to Asciidoctor Tabs 2023-05-04 15:35:05 +01:00