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 imports
for typical Spring MVC tests.Auto-configuration forMockMvc
.A customizer for aConfigurableMockMvcBuilder
.MVC print options specified from@AutoConfigureMockMvc
.Auto-configuration for HtmlUnitWebClient
MockMVC integration.Auto-configuration for SeleniumWebDriver
MockMVC integration.MockMvcBuilderCustomizer
for a typical Spring Boot application.A special scope used forWebDriver
beans.TestExecutionListener
to reset theWebDriverScope
.Annotation that can be used for a Spring MVC test that focuses only on Spring MVC components.