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 |
---|---|
ConfigFileApplicationContextInitializer |
ApplicationContextInitializer that can be used with the
ContextConfiguration.initializers() to trigger loading of
application.properties. |
HideClassesClassLoader |
Test
URLClassLoader that hides configurable classes. |
HidePackagesClassLoader |
Test
URLClassLoader that hides configurable packages. |
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.Copyright © 2017 Pivotal Software, Inc.. All rights reserved.