Uses of Package
org.springframework.test.context
Packages that use org.springframework.test.context
Package
Description
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.
Ahead-of-time (AOT) support for the Spring TestContext Framework.
Support case-by-case Bean overriding in Spring tests.
Bean overriding mechanism based on Mockito mocking and spying.
Support for context caching within the Spring TestContext Framework.
Test event support classes for the Spring TestContext Framework.
JDBC support classes for the Spring TestContext Framework,
including support for declarative SQL script execution via
@Sql.Core support for integrating the Spring TestContext Framework
with the JUnit Jupiter testing framework.
Web support for integrating the Spring TestContext Framework
with the JUnit Jupiter extension model.
Support classes for integrating the Spring TestContext Framework
with JUnit 4.12 or higher.
Custom JUnit 4
Statements used in the Spring TestContext Framework.Support classes for the Spring TestContext Framework.
Transactional support classes for the Spring TestContext Framework.
Web support classes for the Spring TestContext Framework.
-
Classes in org.springframework.test.context used by org.springframework.test.contextClassDescription
BootstrapContextencapsulates the context in which the Spring TestContext Framework is bootstrapped.ACacheAwareContextLoaderDelegateis responsible for loading and closing application contexts, interacting transparently with aContextCachebehind the scenes.@ContextConfigurationis an annotation that can be applied to a test class to define metadata that is used to determine how to load and configure anApplicationContextfor integration tests.ContextConfigurationAttributesencapsulates the context configuration attributes declared via@ContextConfiguration.Strategy interface for customizingapplication contextsthat are created and managed by the Spring TestContext Framework.Enumeration of modes that dictate whether explicitly declared factories are merged with the default factories when@ContextCustomizerFactoriesis declared on a class that does not inherit factories from a superclass or enclosing class.Strategy interface for loading anApplicationContextfor an integration test managed by the Spring TestContext Framework.Registry that is used to add properties with dynamically resolved values to theEnvironment.MergedContextConfigurationencapsulates the merged context configuration declared on a test class and all of its superclasses and enclosing classes via@ContextConfiguration,@ActiveProfiles, and@TestPropertySource.MethodInvokerdefines a generic API for invoking aMethodwithin the Spring TestContext Framework.Enumeration of modes that dictate how test configuration from enclosing classes is processed for inner test classes.Defines autowiring modes for parameters in a test constructor.TestContextencapsulates the context in which a test is executed, agnostic of the actual testing framework in use.Descriptor for anAnnotation, including the class on which the annotation is declared as well as the merged annotation instance.Untyped extension ofTestContextAnnotationUtils.AnnotationDescriptorthat is used to describe the declaration of one of several candidate annotation types where the actual annotation type cannot be predetermined.TestContextBootstrapperdefines the SPI for bootstrapping the Spring TestContext Framework.TestExecutionListenerdefines a listener API for reacting to test execution events published by theTestContextManagerwith which the listener is registered.Enumeration of modes that dictate whether explicitly declared listeners are merged with the default listeners when@TestExecutionListenersis declared on a class that does not inherit listeners from a superclass or enclosing class. -
Classes in org.springframework.test.context used by org.springframework.test.context.aotClassDescriptionStrategy interface for loading an
ApplicationContextfor an integration test managed by the Spring TestContext Framework.MergedContextConfigurationencapsulates the merged context configuration declared on a test class and all of its superclasses and enclosing classes via@ContextConfiguration,@ActiveProfiles, and@TestPropertySource.Strategy interface for loading anApplicationContextfor an integration test managed by the Spring TestContext Framework.TestExecutionListenerdefines a listener API for reacting to test execution events published by theTestContextManagerwith which the listener is registered. -
Classes in org.springframework.test.context used by org.springframework.test.context.bean.overrideClassDescription
TestContextencapsulates the context in which a test is executed, agnostic of the actual testing framework in use.TestExecutionListenerdefines a listener API for reacting to test execution events published by theTestContextManagerwith which the listener is registered. -
Classes in org.springframework.test.context used by org.springframework.test.context.bean.override.mockitoClassDescription
TestContextencapsulates the context in which a test is executed, agnostic of the actual testing framework in use.TestExecutionListenerdefines a listener API for reacting to test execution events published by theTestContextManagerwith which the listener is registered. -
Classes in org.springframework.test.context used by org.springframework.test.context.cacheClassDescriptionA
CacheAwareContextLoaderDelegateis responsible for loading and closing application contexts, interacting transparently with aContextCachebehind the scenes.MergedContextConfigurationencapsulates the merged context configuration declared on a test class and all of its superclasses and enclosing classes via@ContextConfiguration,@ActiveProfiles, and@TestPropertySource. -
Classes in org.springframework.test.context used by org.springframework.test.context.eventClassDescription
TestContextencapsulates the context in which a test is executed, agnostic of the actual testing framework in use.TestExecutionListenerdefines a listener API for reacting to test execution events published by theTestContextManagerwith which the listener is registered. -
Classes in org.springframework.test.context used by org.springframework.test.context.jdbcClassDescription
TestContextencapsulates the context in which a test is executed, agnostic of the actual testing framework in use.TestExecutionListenerdefines a listener API for reacting to test execution events published by theTestContextManagerwith which the listener is registered. -
Classes in org.springframework.test.context used by org.springframework.test.context.junit.jupiterClassDescription
@ContextConfigurationis an annotation that can be applied to a test class to define metadata that is used to determine how to load and configure anApplicationContextfor integration tests. -
Classes in org.springframework.test.context used by org.springframework.test.context.junit.jupiter.webClassDescription
@ContextConfigurationis an annotation that can be applied to a test class to define metadata that is used to determine how to load and configure anApplicationContextfor integration tests. -
Classes in org.springframework.test.context used by org.springframework.test.context.junit4ClassDescription
TestContextManageris the main entry point into the Spring TestContext Framework. -
Classes in org.springframework.test.context used by org.springframework.test.context.junit4.statementsClassDescription
TestContextManageris the main entry point into the Spring TestContext Framework. -
Classes in org.springframework.test.context used by org.springframework.test.context.supportClassDescriptionStrategy interface for programmatically resolving which active bean definition profiles should be used when loading an
ApplicationContextfor a test class.BootstrapContextencapsulates the context in which the Spring TestContext Framework is bootstrapped.ACacheAwareContextLoaderDelegateis responsible for loading and closing application contexts, interacting transparently with aContextCachebehind the scenes.ContextConfigurationAttributesencapsulates the context configuration attributes declared via@ContextConfiguration.Factory for creatingContextCustomizers.Strategy interface for loading anApplicationContextfor an integration test managed by the Spring TestContext Framework.MergedContextConfigurationencapsulates the merged context configuration declared on a test class and all of its superclasses and enclosing classes via@ContextConfiguration,@ActiveProfiles, and@TestPropertySource.MethodInvokerdefines a generic API for invoking aMethodwithin the Spring TestContext Framework.Strategy interface for loading anApplicationContextfor an integration test managed by the Spring TestContext Framework.TestContextencapsulates the context in which a test is executed, agnostic of the actual testing framework in use.TestContextBootstrapperdefines the SPI for bootstrapping the Spring TestContext Framework.TestExecutionListenerdefines a listener API for reacting to test execution events published by theTestContextManagerwith which the listener is registered. -
Classes in org.springframework.test.context used by org.springframework.test.context.transactionClassDescription
TestContextencapsulates the context in which a test is executed, agnostic of the actual testing framework in use.TestExecutionListenerdefines a listener API for reacting to test execution events published by theTestContextManagerwith which the listener is registered. -
Classes in org.springframework.test.context used by org.springframework.test.context.webClassDescriptionA
CacheAwareContextLoaderDelegateis responsible for loading and closing application contexts, interacting transparently with aContextCachebehind the scenes.ContextConfigurationAttributesencapsulates the context configuration attributes declared via@ContextConfiguration.Strategy interface for loading anApplicationContextfor an integration test managed by the Spring TestContext Framework.MergedContextConfigurationencapsulates the merged context configuration declared on a test class and all of its superclasses and enclosing classes via@ContextConfiguration,@ActiveProfiles, and@TestPropertySource.Strategy interface for loading anApplicationContextfor an integration test managed by the Spring TestContext Framework.TestContextencapsulates the context in which a test is executed, agnostic of the actual testing framework in use.TestContextBootstrapperdefines the SPI for bootstrapping the Spring TestContext Framework.TestExecutionListenerdefines a listener API for reacting to test execution events published by theTestContextManagerwith which the listener is registered.