Using Spring Boot 3.1 and the new SpringBootApplication#from coupled with live-reload capabilities (spring-devtools), I would like a @SpringBootTest test to be able to "connect" with an already running application in order to prevent needing to restart the whole application.
A personal pain-point I have with testing on a big Spring Boot application is having to relaunch a test after a minor change in my code. Doing that requires some compilation and the complete launch of the application from nothing, even for a minor modification. When starting the application takes tens of seconds to start up, and you added a little typo in the assertion, despair ensues.
This is a feature I discovered using Quarkus' continuous testing.
Comment From: philwebb
Thanks for the suggestion, I think this mostly duplicates #32686. Feel free to add comments to that issue if you feel it's missing anything suggested here.