diff --git a/spring-test/src/main/java/org/springframework/test/context/transaction/TestTransaction.java b/spring-test/src/main/java/org/springframework/test/context/transaction/TestTransaction.java index c511981c87..e47991f299 100644 --- a/spring-test/src/main/java/org/springframework/test/context/transaction/TestTransaction.java +++ b/spring-test/src/main/java/org/springframework/test/context/transaction/TestTransaction.java @@ -21,13 +21,14 @@ import org.springframework.transaction.TransactionStatus; /** * {@code TestTransaction} provides a collection of static utility methods for - * programmatic interaction with test-managed transactions. + * programmatic interaction with test-managed transactions within + * test methods, before methods, and after methods. * - *
Test-managed transactions are transactions that are managed by the - * Spring TestContext Framework. + *
Consult the javadocs for {@link TransactionalTestExecutionListener} + * for a detailed explanation of test-managed transactions. * *
Support for {@code TestTransaction} is automatically available whenever - * the {@link TransactionalTestExecutionListener} is enabled. Note that the + * the {@code TransactionalTestExecutionListener} is enabled. Note that the * {@code TransactionalTestExecutionListener} is typically enabled by default, * but it can also be manually enabled via the * {@link TestExecutionListeners @TestExecutionListeners} annotation.