Package org.springframework.test.context.transaction
Transactional support classes for the Spring TestContext Framework.
Class Summary 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.Annotation Types Summary Annotation Type Description AfterTransaction Test annotation which indicates that the annotatedvoid
method should be executed after a transaction is ended for a test method configured to run within a transaction via Spring's@Transactional
annotation.BeforeTransaction Test annotation which indicates that the annotatedvoid
method should be executed before a transaction is started for a test method configured to run within a transaction via Spring's@Transactional
annotation.