Package org.springframework.boot.test.autoconfigure.web.servlet
package org.springframework.boot.test.autoconfigure.web.servlet
Auto-configuration for Spring MVC tests.
-
ClassDescriptionAnnotation that can be applied to a test class to enable and configure auto-configuration of
MockMvc.Auto-configuration importsfor typical Spring MVC tests.Auto-configuration forMockMvc.A customizer for aConfigurableMockMvcBuilder.MVC print options specified from@AutoConfigureMockMvc.Auto-configuration for HtmlUnitWebClientMockMVC integration.Auto-configuration for SeleniumWebDriverMockMVC integration.MockMvcBuilderCustomizerfor a typical Spring Boot application.A special scope used forWebDriverbeans.TestExecutionListenerto reset theWebDriverScope.Annotation that can be used for a Spring MVC test that focuses only on Spring MVC components.