https://spring.io/guides/gs/testing-web/
package com.example.testingweb;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
public class TestingWebApplicationTests {
@Test
public void contextLoads() {
}
}
https://www.baeldung.com/spring-boot-testing