Package | Description |
---|---|
org.springframework.test.web.servlet.client |
Support for testing Spring MVC applications via
WebTestClient
with MockMvc for server request
handling. |
org.springframework.test.web.servlet.htmlunit |
Server-side support for testing Spring MVC applications with
MockMvc
and HtmlUnit. |
org.springframework.test.web.servlet.htmlunit.webdriver |
Server-side support for testing Spring MVC applications with
MockMvc
and the Selenium HtmlUnitDriver . |
org.springframework.test.web.servlet.setup |
Contains built-in
MockMvcBuilder implementations. |
Class and Description |
---|
MockMvcConfigurer
Contract for customizing a
ConfigurableMockMvcBuilder in some
specific way, e.g. |
Class and Description |
---|
MockMvcConfigurer
Contract for customizing a
ConfigurableMockMvcBuilder in some
specific way, e.g. |
Class and Description |
---|
MockMvcConfigurer
Contract for customizing a
ConfigurableMockMvcBuilder in some
specific way, e.g. |
Class and Description |
---|
AbstractMockMvcBuilder
Abstract implementation of
MockMvcBuilder with common methods for
configuring filters, default request properties, global expectations and
global result actions. |
ConfigurableMockMvcBuilder
Defines common methods for building a
MockMvc . |
DefaultMockMvcBuilder
A concrete implementation of
AbstractMockMvcBuilder that provides
the WebApplicationContext supplied to it as a constructor argument. |
MockMvcConfigurer
Contract for customizing a
ConfigurableMockMvcBuilder in some
specific way, e.g. |
SharedHttpSessionConfigurer
MockMvcConfigurer that stores and re-uses the HTTP session across
multiple requests performed through the same MockMvc instance. |
StandaloneMockMvcBuilder
A
MockMvcBuilder that accepts @Controller registrations
thus allowing full control over the instantiation and initialization of
controllers and their dependencies similar to plain unit tests, and also
making it possible to test one controller at a time. |