See: Description
Interface | Description |
---|---|
ProfileValueSource |
Strategy interface for retrieving profile values for a given
testing environment.
|
Class | Description |
---|---|
AbstractAnnotationAwareTransactionalTests | Deprecated
as of Spring 3.0, in favor of using the listener-based test context framework
(
AbstractTransactionalJUnit4SpringContextTests ) |
ProfileValueUtils |
General utility methods for working with profile values.
|
SystemProfileValueSource |
Implementation of
ProfileValueSource which uses system properties as
the underlying source. |
Enum | Description |
---|---|
DirtiesContext.ClassMode |
Defines modes which determine how
@DirtiesContext
is interpreted when used to annotate a test class. |
Annotation Type | Description |
---|---|
DirtiesContext |
Test annotation which indicates that the
ApplicationContext
associated with a test is dirty and should be closed:
after the current test, when declared at the method level
after each test method in the current test class, when declared at the
class level with class mode set to AFTER_EACH_TEST_METHOD
after the current test class, when declared at the class level with class
mode set to AFTER_CLASS
|
ExpectedException | Deprecated
as of Spring 3.1 in favor of using built-in support for declaring
expected exceptions in the underlying testing framework (e.g., JUnit, TestNG, etc.)
|
IfProfileValue |
Test annotation to indicate that a test is enabled for a specific testing
profile or environment.
|
NotTransactional | Deprecated
as of Spring 3.0, in favor of moving the non-transactional test
method to a separate (non-transactional) test class or to a
@BeforeTransaction or
@AfterTransaction method. |
ProfileValueSourceConfiguration |
ProfileValueSourceConfiguration is a class-level annotation which is used to
specify what type of
ProfileValueSource to use when retrieving
profile values configured via the @IfProfileValue annotation. |
Repeat |
Test annotation to indicate that a test method should be invoked repeatedly.
|
Rollback |
Test annotation to indicate whether or not the transaction for the annotated
test method should be rolled back after the test method has
completed.
|
Timed |
Test-specific annotation to indicate that a test method has to finish
execution in a
specified time period . |