Package | Description |
---|---|
org.springframework.test.web.client |
Contains client-side REST testing support.
|
org.springframework.test.web.servlet |
Contains server-side support for testing Spring MVC applications.
|
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.request |
Contains built-in
RequestBuilder
implementations. |
org.springframework.test.web.servlet.result |
Contains built-in
ResultMatcher and ResultHandler implementations. |
org.springframework.test.web.servlet.setup |
Contains built-in
MockMvcBuilder implementations. |
Class and Description |
---|
MockMvc
Main entry point for server-side Spring MVC test support.
|
Class and Description |
---|
DispatcherServletCustomizer
Strategy interface for customizing
DispatcherServlet instances that are
managed by MockMvc . |
MockMvc
Main entry point for server-side Spring MVC test support.
|
MvcResult
Provides access to the result of an executed request.
|
RequestBuilder
Builds a
MockHttpServletRequest . |
ResultActions
Allows applying actions, such as expectations, on the result of an executed
request.
|
ResultHandler
A
ResultHandler performs a generic action on the result of an
executed request — for example, printing debug information. |
ResultMatcher
A
ResultMatcher matches the result of an executed request against
some expectation. |
Class and Description |
---|
DispatcherServletCustomizer
Strategy interface for customizing
DispatcherServlet instances that are
managed by MockMvc . |
MockMvc
Main entry point for server-side Spring MVC test support.
|
RequestBuilder
Builds a
MockHttpServletRequest . |
ResultActions
Allows applying actions, such as expectations, on the result of an executed
request.
|
ResultMatcher
A
ResultMatcher matches the result of an executed request against
some expectation. |
Class and Description |
---|
MockMvc
Main entry point for server-side Spring MVC test support.
|
Class and Description |
---|
MockMvc
Main entry point for server-side Spring MVC test support.
|
Class and Description |
---|
MvcResult
Provides access to the result of an executed request.
|
RequestBuilder
Builds a
MockHttpServletRequest . |
SmartRequestBuilder
Extended variant of a
RequestBuilder that applies its
org.springframework.test.web.servlet.request.RequestPostProcessors
as a separate step from the RequestBuilder.buildRequest(javax.servlet.ServletContext) method. |
Class and Description |
---|
MvcResult
Provides access to the result of an executed request.
|
ResultHandler
A
ResultHandler performs a generic action on the result of an
executed request — for example, printing debug information. |
ResultMatcher
A
ResultMatcher matches the result of an executed request against
some expectation. |
Class and Description |
---|
DispatcherServletCustomizer
Strategy interface for customizing
DispatcherServlet instances that are
managed by MockMvc . |
MockMvc
Main entry point for server-side Spring MVC test support.
|
MockMvcBuilder
Builds a
MockMvc instance. |
MockMvcBuilderSupport
Base class for MockMvc builder implementations, providing the capability to
create a
MockMvc instance. |
RequestBuilder
Builds a
MockHttpServletRequest . |
ResultHandler
A
ResultHandler performs a generic action on the result of an
executed request — for example, printing debug information. |
ResultMatcher
A
ResultMatcher matches the result of an executed request against
some expectation. |