Glossary: Spring Boot Beyond the Basics
@WebMvcTest
Also written: WebMvcTest, MockMvc, @MockitoBean
A test annotation that starts only the web layer. `MockMvc` fakes requests without a real server, and `@MockitoBean` swaps a service for a fake.
Glossary: Spring Boot Beyond the Basics
Also written: WebMvcTest, MockMvc, @MockitoBean
A test annotation that starts only the web layer. `MockMvc` fakes requests without a real server, and `@MockitoBean` swaps a service for a fake.