You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Spring Framework 4.3, we introduced the PropertySourceFactory SPI for use with @PropertySource. This issue aims to introduce the same support in @TestPropertySource.
changed the title [-]Support `PropertySourceFactory` in `@TestPropertySource`[/-][+]Support custom properties file formats in `@TestPropertySource`[/+]on Aug 4, 2023
Reopening as the deprecation of MergedContextConfiguration#getPropertySourceLocations requires to use MergedContextConfiguration#getPropertySourceDescriptors which doesn't have any equivalent in TestPropertySourceUtils.
There is a method that could work but it's private at the moment.
Activity
@TestPropertySource
#30982[-]Support `PropertySourceFactory` in `@TestPropertySource`[/-][+]Support custom properties file formats in `@TestPropertySource`[/+]Support custom properties file formats in @TestPropertySource
snicoll commentedon Aug 7, 2023
Reopening as the deprecation of
MergedContextConfiguration#getPropertySourceLocations
requires to useMergedContextConfiguration#getPropertySourceDescriptors
which doesn't have any equivalent inTestPropertySourceUtils
.There is a method that could work but it's private at the moment.
@TestPropertySource
factory #31160