4 ms·
You would only use @SpringBootTest at the top of the testing pyramid. Spring Boot provides "test slices", so you'd also be using @DataJpaTest or @WebMvcTest, w
by okeuro49 3y ago
You would only use @SpringBootTest at the top of the testing pyramid.
Spring Boot provides "test slices", so you'd also be using @DataJpaTest or @WebMvcTest, which run a lot faster, as they don't boot the entire application.