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.Deprecated, for removal: This API element is subject to removal in a future version.
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.
Annotation that can be used to add mocks to a Spring
ApplicationContext
.Container annotation that aggregates several
@MockBean
annotations.Reset strategy used on a mock bean.
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.
TestExecutionListener
to reset any mock beans that have been marked with a
MockReset
.RequestExpectationManager
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
).A
MockResolver
for testing Spring Boot applications with Mockito.MockServletContext
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.Annotation that can be used to apply Mockito spies to a Spring
ApplicationContext
.Container annotation that aggregates several
@SpyBean
annotations.@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.HttpComponentsClientHttpRequestFactory
to apply customizations.Options used to customize the Apache HTTP Client.
An
ApplicationContext runner
for a Servlet
based ConfigurableWebApplicationContext
.A customizer for a
WebTestClient.Builder
.
ApplicationContextFailureProcessor