# spring-test 6.2.19 API

Packages
Package
Description
org.springframework.mock.env
This package contains mock implementations of the `Environment` and `PropertySource` abstractions.
org.springframework.mock.http
Mock implementations of client/server-side HTTP abstractions.
org.springframework.mock.http.client
Mock implementations of client-side HTTP abstractions.
org.springframework.mock.http.client.reactive
Mock implementations of reactive HTTP client contracts.
org.springframework.mock.http.server.reactive
Mock implementations of reactive HTTP server contracts.
org.springframework.mock.web
A comprehensive set of Servlet API 6.0 mock objects, targeted at usage with Spring's Web MVC framework.
org.springframework.mock.web.reactive.function.server
Mock objects for the functional web framework.
org.springframework.mock.web.server
Mock implementations of Spring's reactive server web API abstractions.
org.springframework.test.annotation
Support classes for annotation-driven tests.
org.springframework.test.context
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.
org.springframework.test.context.aot
Ahead-of-time (AOT) support for the Spring TestContext Framework.
org.springframework.test.context.bean.override
Support case-by-case Bean overriding in Spring tests.
org.springframework.test.context.bean.override.convention
Bean override mechanism based on conventionally-named static methods in the test class.
org.springframework.test.context.bean.override.mockito
Bean overriding mechanism based on Mockito mocking and spying.
org.springframework.test.context.cache
Support for context caching within the Spring TestContext Framework.
org.springframework.test.context.event
Test event support classes for the Spring TestContext Framework.
org.springframework.test.context.event.annotation
Test execution event annotations for the Spring TestContext Framework.
org.springframework.test.context.jdbc
JDBC support classes for the Spring TestContext Framework, including support for declarative SQL script execution via `@Sql`.
org.springframework.test.context.junit.jupiter
Core support for integrating the Spring TestContext Framework with the JUnit Jupiter extension model in JUnit 5.
org.springframework.test.context.junit.jupiter.web
Web support for integrating the Spring TestContext Framework with the JUnit Jupiter extension model in JUnit 5.
org.springframework.test.context.junit4
Support classes for integrating the Spring TestContext Framework with JUnit 4.12 or higher.
org.springframework.test.context.junit4.rules
Custom JUnit 4 `Rules` used in the Spring TestContext Framework.
org.springframework.test.context.junit4.statements
Custom JUnit 4 `Statements` used in the Spring TestContext Framework.
org.springframework.test.context.support
Support classes for the Spring TestContext Framework.
org.springframework.test.context.testng
Support classes for integrating the Spring TestContext Framework with TestNG.
org.springframework.test.context.transaction
Transactional support classes for the Spring TestContext Framework.
org.springframework.test.context.util
Common utilities used within the Spring TestContext Framework.
org.springframework.test.context.web
Web support classes for the Spring TestContext Framework.
org.springframework.test.http
Test support for HTTP concepts.
org.springframework.test.jdbc
Support classes for tests based on JDBC.
org.springframework.test.json
Testing support for JSON.
org.springframework.test.util
General utility classes for use in unit and integration tests.
org.springframework.test.validation
Testing support for validation.
org.springframework.test.web
Helper classes for unit tests based on Spring's web support.
org.springframework.test.web.client
Contains client-side REST testing support.
org.springframework.test.web.client.match
Contains built-in `RequestMatcher` implementations.
org.springframework.test.web.client.response
Contains built-in `ResponseCreator` implementations.
org.springframework.test.web.reactive.server
Support for testing Spring WebFlux server endpoints via `WebTestClient`.
org.springframework.test.web.servlet
Contains server-side support for testing Spring MVC applications.
org.springframework.test.web.servlet.assertj
AssertJ support for MockMvc.
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.