Package org.springframework.test.context.transaction
@NonNullApi
@NonNullFields
package org.springframework.test.context.transaction
Transactional support classes for the Spring TestContext Framework.
-
ClassDescriptionTest annotation which indicates that the annotated
voidmethod should be executed after a transaction is ended for a test method configured to run within a transaction via Spring's@Transactionalannotation.Test annotation which indicates that the annotatedvoidmethod should be executed before a transaction is started for a test method configured to run within a transaction via Spring's@Transactionalannotation.Utility methods for working with transactions and data access related beans within the Spring TestContext Framework.TestTransactionprovides a collection of static utility methods for programmatic interaction with test-managed transactions within test methods, before methods, and after methods.TestExecutionListenerthat provides support for executing tests within test-managed transactions by honoring Spring's@Transactionalannotation.