程序包 cn.taketoday.test.web.servlet
@NonNullApi
@NonNullFields
package cn.taketoday.test.web.servlet
Contains server-side support for testing Web MVC applications.
- 另请参阅:
-
类说明A simple implementation of
MvcResultwith setters.Strategy interface for customizingDispatcherServletinstances that are managed byMockMvc.Main entry point for server-side Web MVC test support.Builds aMockMvcinstance.Base class for MockMvc builder implementations, providing the capability to create aMockMvcinstance.Provides access to the result of an executed request.Builds aMockHttpServletRequest.Allows applying actions, such as expectations, on the result of an executed request.AResultHandlerperforms a generic action on the result of an executed request — for example, printing debug information.AResultMatchermatches the result of an executed request against some expectation.Extended variant of aRequestBuilderthat applies itscn.taketoday.test.web.servlet.request.RequestPostProcessorsas a separate step from theRequestBuilder.buildRequest(jakarta.servlet.ServletContext)method.A subclass ofDispatcherServletthat saves the result in anMvcResult.