Package | Description |
---|---|
org.springframework.test.web.servlet.client |
Support for testing Spring MVC applications via
WebTestClient
with MockMvc for server request
handling. |
Modifier and Type | Interface and Description |
---|---|
static interface |
MockMvcWebTestClient.MockMvcServerSpec<B extends MockMvcWebTestClient.MockMvcServerSpec<B>>
Base specification for configuring
MockMvc , and a simple facade
around ConfigurableMockMvcBuilder . |
Modifier and Type | Interface and Description |
---|---|
static interface |
MockMvcWebTestClient.ControllerSpec
Specification for configuring
MockMvc to test one or more
controllers directly, and a simple facade around
StandaloneMockMvcBuilder . |
Modifier and Type | Method and Description |
---|---|
static MockMvcWebTestClient.MockMvcServerSpec<?> |
MockMvcWebTestClient.bindToApplicationContext(WebApplicationContext context)
Begin creating a
WebTestClient by providing a
WebApplicationContext with Spring MVC infrastructure and
controllers. |