| Package | Description |
|---|---|
| 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.cache |
Support for context caching within 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.statements |
Custom JUnit
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 ApplicationContext-based and transactional
tests run with TestNG and the Spring TestContext Framework.
|
| org.springframework.test.context.transaction |
Transactional support classes for the Spring TestContext Framework.
|
| org.springframework.test.context.web |
Web support classes for the Spring TestContext Framework.
|
| Class and Description |
|---|
BootstrapContext
BootstrapContext encapsulates the context in which the Spring
TestContext Framework is bootstrapped. |
| CacheAwareContextLoaderDelegate
A
CacheAwareContextLoaderDelegate is responsible for loading and closing application
contexts, interacting transparently with a
ContextCache
behind the scenes. |
ContextConfiguration
@ContextConfiguration defines class-level metadata that is used to determine
how to load and configure an ApplicationContext for integration tests. |
ContextConfigurationAttributes
ContextConfigurationAttributes encapsulates the context configuration
attributes declared via @ContextConfiguration. |
| ContextCustomizer
Strategy interface for customizing
application contexts that are created and managed by the Spring
TestContext Framework. |
| ContextLoader
Strategy interface for loading an
application context
for an integration test managed by the Spring TestContext Framework. |
MergedContextConfiguration
MergedContextConfiguration encapsulates the merged
context configuration declared on a test class and all of its superclasses
via @ContextConfiguration,
@ActiveProfiles, and
@TestPropertySource. |
TestContext
TestContext encapsulates the context in which a test is executed,
agnostic of the actual testing framework in use. |
TestContextBootstrapper
TestContextBootstrapper defines the SPI for bootstrapping the
Spring TestContext Framework. |
TestExecutionListener
TestExecutionListener defines a listener API for reacting to
test execution events published by the TestContextManager with which
the listener is registered. |
| TestExecutionListeners.MergeMode
Enumeration of modes that dictate whether or not explicitly
declared listeners are merged with the default listeners when
@TestExecutionListeners is declared on a class that does
not inherit listeners from a superclass. |
| Class and Description |
|---|
| CacheAwareContextLoaderDelegate
A
CacheAwareContextLoaderDelegate is responsible for loading and closing application
contexts, interacting transparently with a
ContextCache
behind the scenes. |
MergedContextConfiguration
MergedContextConfiguration encapsulates the merged
context configuration declared on a test class and all of its superclasses
via @ContextConfiguration,
@ActiveProfiles, and
@TestPropertySource. |
| Class and Description |
|---|
TestContext
TestContext encapsulates the context in which a test is executed,
agnostic of the actual testing framework in use. |
TestExecutionListener
TestExecutionListener defines a listener API for reacting to
test execution events published by the TestContextManager with which
the listener is registered. |
| Class and Description |
|---|
ContextConfiguration
@ContextConfiguration defines class-level metadata that is used to determine
how to load and configure an ApplicationContext for integration tests. |
| Class and Description |
|---|
ContextConfiguration
@ContextConfiguration defines class-level metadata that is used to determine
how to load and configure an ApplicationContext for integration tests. |
| Class and Description |
|---|
TestContextManager
TestContextManager is the main entry point into the Spring
TestContext Framework. |
TestExecutionListeners
TestExecutionListeners defines class-level metadata for configuring
which TestExecutionListeners should be
registered with a TestContextManager. |
| Class and Description |
|---|
TestContextManager
TestContextManager is the main entry point into the Spring
TestContext Framework. |
| Class and Description |
|---|
| ActiveProfilesResolver
Strategy interface for programmatically resolving which active bean
definition profiles should be used when loading an
ApplicationContext
for a test class. |
BootstrapContext
BootstrapContext encapsulates the context in which the Spring
TestContext Framework is bootstrapped. |
| CacheAwareContextLoaderDelegate
A
CacheAwareContextLoaderDelegate is responsible for loading and closing application
contexts, interacting transparently with a
ContextCache
behind the scenes. |
ContextConfigurationAttributes
ContextConfigurationAttributes encapsulates the context configuration
attributes declared via @ContextConfiguration. |
| ContextCustomizerFactory
Factory for creating
ContextCustomizers. |
| ContextLoader
Strategy interface for loading an
application context
for an integration test managed by the Spring TestContext Framework. |
MergedContextConfiguration
MergedContextConfiguration encapsulates the merged
context configuration declared on a test class and all of its superclasses
via @ContextConfiguration,
@ActiveProfiles, and
@TestPropertySource. |
| SmartContextLoader
Strategy interface for loading an
application context
for an integration test managed by the Spring TestContext Framework. |
TestContext
TestContext encapsulates the context in which a test is executed,
agnostic of the actual testing framework in use. |
TestContextBootstrapper
TestContextBootstrapper defines the SPI for bootstrapping the
Spring TestContext Framework. |
TestExecutionListener
TestExecutionListener defines a listener API for reacting to
test execution events published by the TestContextManager with which
the listener is registered. |
| Class and Description |
|---|
TestExecutionListeners
TestExecutionListeners defines class-level metadata for configuring
which TestExecutionListeners should be
registered with a TestContextManager. |
| Class and Description |
|---|
TestContext
TestContext encapsulates the context in which a test is executed,
agnostic of the actual testing framework in use. |
TestExecutionListener
TestExecutionListener defines a listener API for reacting to
test execution events published by the TestContextManager with which
the listener is registered. |
| Class and Description |
|---|
| CacheAwareContextLoaderDelegate
A
CacheAwareContextLoaderDelegate is responsible for loading and closing application
contexts, interacting transparently with a
ContextCache
behind the scenes. |
ContextConfigurationAttributes
ContextConfigurationAttributes encapsulates the context configuration
attributes declared via @ContextConfiguration. |
| ContextCustomizer
Strategy interface for customizing
application contexts that are created and managed by the Spring
TestContext Framework. |
| ContextLoader
Strategy interface for loading an
application context
for an integration test managed by the Spring TestContext Framework. |
MergedContextConfiguration
MergedContextConfiguration encapsulates the merged
context configuration declared on a test class and all of its superclasses
via @ContextConfiguration,
@ActiveProfiles, and
@TestPropertySource. |
| SmartContextLoader
Strategy interface for loading an
application context
for an integration test managed by the Spring TestContext Framework. |
TestContext
TestContext encapsulates the context in which a test is executed,
agnostic of the actual testing framework in use. |
TestContextBootstrapper
TestContextBootstrapper defines the SPI for bootstrapping the
Spring TestContext Framework. |
TestExecutionListener
TestExecutionListener defines a listener API for reacting to
test execution events published by the TestContextManager with which
the listener is registered. |