Spring Boot 4 · Actuator and testing
Write an integration test
Start the full application context for a test.
@SpringBootTest
class DemoApplicationTests {
@Test
void contextLoads() {
}
}
Official Spring Boot 4 documentation
More actuator and testing commands
All actuator and testing commands · Spring Boot 4 cheatsheet