Package | Description |
---|---|
org.springframework.test.annotation |
Support classes for annotation-driven tests.
|
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.support |
Support classes for the Spring TestContext Framework.
|
Class and Description |
---|
DirtiesContext.ClassMode
Defines modes which determine how
@DirtiesContext is
interpreted when used to annotate a test class. |
DirtiesContext.HierarchyMode
Defines modes which determine how the context cache is cleared
when
@DirtiesContext is used in a test whose context is
configured as part of a hierarchy via
@ContextHierarchy . |
DirtiesContext.MethodMode
Defines modes which determine how
@DirtiesContext is
interpreted when used to annotate a test method. |
ProfileValueSource
Strategy interface for retrieving profile values for a given
testing environment.
|
Rollback
@Rollback is a test annotation that is used to indicate whether
a test-managed transaction should be rolled back after
the test method has completed. |
SystemProfileValueSource
Implementation of
ProfileValueSource which uses system properties as
the underlying source. |
Class and Description |
---|
DirtiesContext.HierarchyMode
Defines modes which determine how the context cache is cleared
when
@DirtiesContext is used in a test whose context is
configured as part of a hierarchy via
@ContextHierarchy . |
Class and Description |
---|
DirtiesContext.HierarchyMode
Defines modes which determine how the context cache is cleared
when
@DirtiesContext is used in a test whose context is
configured as part of a hierarchy via
@ContextHierarchy . |
Class and Description |
---|
DirtiesContext.ClassMode
Defines modes which determine how
@DirtiesContext is
interpreted when used to annotate a test class. |
DirtiesContext.HierarchyMode
Defines modes which determine how the context cache is cleared
when
@DirtiesContext is used in a test whose context is
configured as part of a hierarchy via
@ContextHierarchy . |
DirtiesContext.MethodMode
Defines modes which determine how
@DirtiesContext is
interpreted when used to annotate a test method. |