ApplicationContext
for
tests.See: Description
Interface | Description |
---|---|
DefaultTestExecutionListenersPostProcessor |
Callback interface trigger from
SpringBootTestContextBootstrapper that can be
used to post-process the list of default TestExecutionListener classes to be
used by a test. |
Class | Description |
---|---|
AnnotatedClassFinder |
Utility class to find a class annotated with a particular annotation in a hierarchy.
|
ConfigDataApplicationContextInitializer |
ApplicationContextInitializer that can be used with the
ContextConfiguration.initializers() to trigger loading of ConfigData
such as application.properties. |
ConfigFileApplicationContextInitializer | Deprecated
since 2.4.0 in favor of
ConfigDataApplicationContextInitializer |
FilteredClassLoader |
Test
URLClassLoader that can filter the classes and resources it can load. |
FilteredClassLoader.ClassFilter |
Filter to restrict the classes that can be loaded.
|
FilteredClassLoader.ClassPathResourceFilter |
Filter to restrict the resources that can be loaded.
|
FilteredClassLoader.PackageFilter |
Filter to restrict the packages that can be loaded.
|
ReactiveWebMergedContextConfiguration |
Encapsulates the merged context configuration declared on a test class and all
of its superclasses for a reactive web application.
|
SpringBootContextLoader |
A
ContextLoader that can be used to test Spring Boot applications (those that
normally startup using SpringApplication ). |
SpringBootTestContextBootstrapper |
TestContextBootstrapper for Spring Boot. |
Enum | Description |
---|---|
SpringBootTest.WebEnvironment |
An enumeration web environment modes.
|
Annotation Type | Description |
---|---|
SpringBootTest |
Annotation that can be specified on a test class that runs Spring Boot based tests.
|
TestComponent |
@Component that can be used when a bean is intended only for tests,
and should be excluded from Spring Boot's component scanning. |
TestConfiguration |
@Configuration that can be used to define additional beans or
customizations for a test. |
ApplicationContext
for
tests.