Affects: 5.3.26
@SpringJUnitConfig
and @SpringJUnitWebConfig
alias all attributes of @ContextConfiguration
except loader
for some reason, which forces one to replace them with
@ExtendWith(SpringExtension.class)
@WebAppConfiguration
@ContextConfiguration(loader = ...)
I think it would be great to add a loader
attribute to these annotations to make them fully compatible with @ContextConfiguration
.
Comment From: sbrannen
@SpringJUnitConfig
and@SpringJUnitWebConfig
wrap all parameters of@ContextConfiguration
exceptloader
for some reason
I believe that was merely an oversight on my part.
Thanks for bringing this to our attention! 👍
Comment From: sbrannen
Since there are viable workarounds for Spring Framework 5.3.x and 6.0.x, I've incorporated these changes for the upcoming Spring Framework 6.1 RC2 in commit 6c4cbd2aab6a49cbd36438007ca296006e305a3a.