spring-test 6.2.0 API
Package
Description
This package contains mock implementations of the
Environment
and
PropertySource
abstractions.Mock implementations of client/server-side HTTP abstractions.
Mock implementations of client-side HTTP abstractions.
Mock implementations of reactive HTTP client contracts.
Mock implementations of reactive HTTP server contracts.
A comprehensive set of Servlet API 6.0 mock objects, targeted at usage with
Spring's Web MVC framework.
Mock objects for the functional web framework.
Mock implementations of Spring's reactive server web API abstractions.
Support classes for annotation-driven tests.
This package contains the Spring TestContext Framework which
provides annotation-driven unit and integration testing support that is
agnostic of the actual testing framework in use.
Ahead-of-time (AOT) support for the Spring TestContext Framework.
Support case-by-case Bean overriding in Spring tests.
Bean override mechanism based on conventionally-named static methods
in the test class.
Bean overriding mechanism based on Mockito mocking and spying.
Support for context caching within the Spring TestContext Framework.
Test event support classes for the Spring TestContext Framework.
Test execution event annotations for the Spring TestContext Framework.
JDBC support classes for the Spring TestContext Framework,
including support for declarative SQL script execution via
@Sql
.Core support for integrating the Spring TestContext Framework
with the JUnit Jupiter extension model in JUnit 5.
Web support for integrating the Spring TestContext Framework
with the JUnit Jupiter extension model in JUnit 5.
Support classes for integrating the Spring TestContext Framework
with JUnit 4.12 or higher.
Custom JUnit 4
Rules
used in the Spring TestContext Framework.Custom JUnit 4
Statements
used in the Spring TestContext Framework.Support classes for the Spring TestContext Framework.
Support classes for integrating the Spring TestContext Framework
with TestNG.
Transactional support classes for the Spring TestContext Framework.
Common utilities used within the Spring TestContext Framework.
Web support classes for the Spring TestContext Framework.
Test support for HTTP concepts.
Support classes for tests based on JDBC.
Testing support for JSON.
General utility classes for use in unit and integration tests.
Testing support for validation.
Helper classes for unit tests based on Spring's web support.
Contains client-side REST testing support.
Contains built-in
RequestMatcher
implementations.Contains built-in
ResponseCreator
implementations.Support for testing Spring WebFlux server endpoints via
WebTestClient
.Contains server-side support for testing Spring MVC applications.
AssertJ support for MockMvc.
Support for testing Spring MVC applications via
WebTestClient
with MockMvc
for server request
handling.Server-side support for testing Spring MVC applications with
MockMvc
and HtmlUnit.Server-side support for testing Spring MVC applications with
MockMvc
and the Selenium HtmlUnitDriver
.Contains built-in
RequestBuilder
implementations.Contains built-in
ResultMatcher
and ResultHandler
implementations.Contains built-in
MockMvcBuilder
implementations.