See: Description
Class | Description |
---|---|
TestContextTransactionUtils |
Utility methods for working with transactions and data access related beans
within the Spring TestContext Framework.
|
TestTransaction |
TestTransaction provides a collection of static utility methods for
programmatic interaction with test-managed transactions within
test methods, before methods, and after methods. |
TransactionalTestExecutionListener |
TestExecutionListener that provides support for executing tests
within test-managed transactions by honoring Spring's
@Transactional
annotation. |
TransactionConfigurationAttributes |
Configuration attributes for configuring transactional tests.
|
Annotation Type | Description |
---|---|
AfterTransaction |
Test annotation to indicate that the annotated
public void method
should be executed after a transaction is ended for a test method
configured to run within a transaction via the @Transactional annotation. |
BeforeTransaction |
Test annotation to indicate that the annotated
public void method
should be executed before a transaction is started for a test method
configured to run within a transaction via the @Transactional annotation. |
TransactionConfiguration |
TransactionConfiguration defines class-level metadata for configuring
transactional tests. |