Skip to content

Glossary: Spring Boot Basics

@AutoConfigureMockMvc

A test annotation that adds a MockMvc bean to the test's application context. Tests use it to send fake requests without starting a real server.

Where the book teaches it

Related terms

MockMvc@SpringBootTest