Package org.springframework.test.context.transaction
@NullMarked
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.