程序包 cn.taketoday.test.web.servlet.client
@NonNullApi
@NonNullFields
package cn.taketoday.test.web.servlet.client
Support for testing Web MVC applications via
WebTestClient
with MockMvc for server request
handling.-
类说明Base class for implementations of
MockMvcWebTestClient.MockMvcServerSpecthat simply delegates to aConfigurableMockMvcBuildersupplied by the concrete subclasses.Simple wrapper around aDefaultMockMvcBuilder.Connector that handles requests by invoking aMockMvcrather than making actual requests over HTTP.The main class for testing Web MVC applications viaWebTestClientwithMockMvcfor server request handling.Specification for configuringMockMvcto test one or more controllers directly, and a simple facade aroundStandaloneMockMvcBuilder.Base specification for configuringMockMvc, and a simple facade aroundConfigurableMockMvcBuilder.Simple wrapper around aStandaloneMockMvcBuilderthat implementsMockMvcWebTestClient.ControllerSpec.