Support declarative PropertySource annotations in the TestContext framework [SPR-11377] #16004
Labels
in: test
Issues in the test module
status: duplicate
A duplicate of another issue
type: enhancement
A general enhancement
Shevek opened SPR-11377 and commented
I wrote this ages ago, but:
There should be an equivalent of
@ActiveProfiles
forPropertySources
. I wrote this code, and hope it helps.Then it's used like this:
Can we have a better integrated equivalent of this in the default
DelegatingSmartContextLoader
, or wherever you feel appropriate, please? It would help us IMMENSELY.Thank you.
Affects: 3.2.7
Issue Links:
@PropertySource
to be specified on a test class@Configuration
classes@TestPropertySource
support in the TestContext framework ("is superseded by")The text was updated successfully, but these errors were encountered: