All Classes and Interfaces
Class
Description
AbstractApplicationContextRunner<SELF extends AbstractApplicationContextRunner<SELF,C,A>,C extends org.springframework.context.ConfigurableApplicationContext,A extends ApplicationContextAssertProvider<C>>
Utility design to run an
ApplicationContext and provide AssertJ style
assertions.A Bean registration to be applied when the context loaded.
AbstractApplicationContextRunner.RunnerConfiguration<C extends org.springframework.context.ConfigurableApplicationContext>
Base class for AssertJ based JSON marshal testers.
Utility class used to support field initialization.
Utility class to find a class annotated with a particular annotation in a hierarchy.
ApplicationContextAssert<C extends org.springframework.context.ApplicationContext>
AssertJ
assertions that can be applied to an
ApplicationContext.The scope of an assertion.
ApplicationContextAssertProvider<C extends org.springframework.context.ApplicationContext>
An
ApplicationContext that additionally supports AssertJ style assertions.An
ApplicationContext runner for a standard,
non-web environment ConfigurableApplicationContext.Application context related test utilities.
An
ApplicationContext that additionally supports AssertJ style assertions.A
ReactiveWebApplicationContext that additionally supports AssertJ style
assertions.A
WebApplicationContext that additionally supports AssertJ style assertions.AssertJ based JSON tester that works with basic JSON strings.
Provides access to
System.out and System.err
output that has been captured by the OutputCaptureExtension or
OutputCaptureRule.ApplicationContextInitializer that can be used with the
ContextConfiguration.initializers() to trigger loading of ConfigData
such as application.properties.ContextConsumer<C extends org.springframework.context.ApplicationContext>
Callback interface used to process an
ApplicationContext with the ability to
throw a (checked) exception.Test
URLClassLoader that can filter the classes and resources it can load.Filter to restrict the classes that can be loaded.
Filter to restrict the resources that can be loaded.
Filter to restrict the packages that can be loaded.
AssertJ based JSON tester backed by Gson.
AssertJ based JSON tester backed by Jackson.
AssertJ based JSON tester backed by Jsonb.
JSON content usually created from a JSON tester.
AssertJ
Assert for JsonContent.UriTemplateHandler will automatically prefix relative URIs with
localhost:${local.server.port}.WebClient will automatically prefix relative URLs with
localhost:${local.server.port}.LocalHostWebConnectionHtmlUnitDriver will automatically prefix relative URLs
with localhost:${local.server.port}.Annotation at the field or method/constructor parameter level that injects the HTTP
management port that was allocated at runtime.
Annotation at the field or method/constructor parameter level that injects the RSocket
port that was allocated at runtime.
Annotation at the field or method/constructor parameter level that injects the HTTP
server port that was allocated at runtime.
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated, for removal: This API element is subject to removal in a future version.
since 3.4.0 for removal in 4.0.0 in favor of
MockitoBeanDeprecated.
since 3.4.0 for removal in 4.0.0 in favor of Spring Framework's
MockitoBean and MockitoSpyBean supportDeprecated, for removal: This API element is subject to removal in a future version.
since 3.4.0 for removal in 4.0.0 in favor of Spring Framework's support for
MockitoBean and MockitoSpyBean.Deprecated, for removal: This API element is subject to removal in a future version.
since 3.4.0 for removal in 4.0.0 in favor of
MockResetRestClientCustomizer that can be applied to RestClient.Builder
instances to add MockRestServiceServer support.RestTemplateCustomizer that can be applied to a RestTemplateBuilder
instances to add MockRestServiceServer support.Object content usually created from
AbstractJsonMarshalTester.AssertJ
Assert for ObjectContent.JUnit
@Rule to capture output from System.out and System.err.An
ApplicationContext runner for a
ConfigurableReactiveWebApplicationContext.Encapsulates the merged context configuration declared on a test class and all
of its superclasses for a reactive web application.
Deprecated, for removal: This API element is subject to removal in a future version.
since 3.4.0 for removal in 4.0.0 in favor of
MockitoResetTestExecutionListenerRequestExpectationManager that strips the specified root URI from the request
before verification.A
ContextLoader that can be used to test Spring Boot applications (those that
normally startup using SpringApplication).Deprecated, for removal: This API element is subject to removal in a future version.
since 3.4.0 for removal in 4.0.0 in favor of Spring Framework's
MockitoBean and MockitoSpyBeanMockServletContext implementation for Spring Boot.Annotation that can be specified on a test class that runs Spring Boot based tests.
Enumeration of how the main method of the
@SpringBootConfiguration-annotated class is used
when creating and running the SpringApplication under test.An enumeration web environment modes.
Entry point for AOT processing of a Spring Boot application's tests.
TestContextBootstrapper for Spring Boot.Deprecated, for removal: This API element is subject to removal in a future version.
since 3.4.0 for removal in 4.0.0 in favor of
MockitoSpyBeanDeprecated, for removal: This API element is subject to removal in a future version.
since 3.4.0 for removal in 4.0.0 in favor of
MockitoSpyBean@Component that can be used when a bean is intended only for tests,
and should be excluded from Spring Boot's component scanning.@Configuration that can be used to define additional beans or
customizations for a test.Test utilities for adding properties.
A single name value pair.
The type of property source.
Convenient alternative of
RestTemplate that is suitable for integration tests.Deprecated, for removal: This API element is subject to removal in a future version.
since 3.5.0 for removal in 4.0.0
Options used to customize the Apache HTTP Client.
An
ApplicationContext runner for a Servlet
based ConfigurableWebApplicationContext.A customizer that can be implemented by beans wishing to customize the
WebTestClient.Builder
to fine-tine its auto-configuration before a WebTestClient is created.
MockitoBean