| Package | Description |
|---|---|
| org.springframework.test.web.reactive.server |
Support for testing Spring WebFlux server endpoints via
WebTestClient. |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
WebTestClient.MockServerSpec<B extends WebTestClient.MockServerSpec<B>>
Base specification for setting up tests without a server.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
WebTestClient.ControllerSpec
Specification for customizing controller configuration equivalent to, and
internally delegating to, a
WebFluxConfigurer. |
| Modifier and Type | Class and Description |
|---|---|
class |
RouterFunctionSpec
Spec for setting up server-less testing against a RouterFunction.
|
| Modifier and Type | Method and Description |
|---|---|
static WebTestClient.MockServerSpec<?> |
WebTestClient.bindToApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Integration testing without a server with WebFlux infrastructure detected
from an
ApplicationContext such as @EnableWebFlux
Java config and annotated controller Spring beans. |
static WebTestClient.MockServerSpec<?> |
WebTestClient.bindToRouterFunction(org.springframework.web.reactive.function.server.RouterFunction<?> routerFunction)
Integration testing without a server targeting WebFlux functional endpoints.
|