Annotation Type AutoConfigureWebMvc
@Target(TYPE) @Retention(RUNTIME) @Documented @Inherited @ImportAutoConfiguration public @interface AutoConfigureWebMvc
Auto-configuration imports
for typical Spring MVC tests. Most tests should consider using@WebMvcTest
rather than using this annotation directly.- Since:
- 1.4.0
- See Also:
WebMvcTest