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
{{ message }}
Repository navigation
Module spring-boot-resttestclient is missing from spring-boot-starter-test-classic #50006
This has the consequence that TestRestTemplate isn't available when adding spring-boot-starter-test-classic, which makes upgrading from 3.5.x to 4.0.x harder than necessary.
Hi @mhalbritter ,
This looks like a good improvement for upgrade compatibility. I’d be happy to take a look at this.
My understanding is that this would involve adding spring-boot-resttestclient back to spring-boot-starter-test-classic so that TestRestTemplate remains available when upgrading from 3.5.x to 4.0.x.
Please let me know if that aligns with the intended approach.
Activity
GollapudiSrikanth commentedon Apr 10, 2026
Hi @mhalbritter ,
This looks like a good improvement for upgrade compatibility. I’d be happy to take a look at this.
My understanding is that this would involve adding spring-boot-resttestclient back to spring-boot-starter-test-classic so that TestRestTemplate remains available when upgrading from 3.5.x to 4.0.x.
Please let me know if that aligns with the intended approach.
mhalbritter commentedon Apr 10, 2026
Yes, this is what we should do.
spring-boot-starter-test-classicdepends onspring-boot-test-classic-modules, and we need to add the dependency there.GollapudiSrikanth commentedon Apr 14, 2026
Thank for the clarification. I'll work on Updating spring-boot-test-classic-modules accordingly and submit a PR soon.
Add spring-boot-resttestclient to test-classic-modules Closes spring-…
snicoll commentedon Apr 15, 2026
Closing in favor of PR #50069 - Thanks @GollapudiSrikanth
GollapudiSrikanth commentedon Apr 15, 2026
Thanks for the update and clarification.
I appreciate you taking a look @snicoll .