Package org.springframework.boot.webmvc.test.autoconfigure
@NullMarked
package org.springframework.boot.webmvc.test.autoconfigure
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
.Callback interface that can be implemented by beans wishing to customize the MockMvcHtmlUnitDriver
to fine-tune its auto-configuration.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.