Closed
Description
Sam Brannen opened SPR-17647 and commented
Overview
As discussed in JUnit 5 issue 1701, developers are often unaware of the effect that a preemptive timeout in a testing framework can have on transactional tests in Spring.
Documenting such use cases in the Testing chapter of the Spring Reference Manual, analogous to how I documented it in the JUnit 5 User Guide, would help improve awareness.
Deliverables
- Document effect of preemptive timeouts on transactional tests in the Testing chapter.
- Mention JUnit Jupiter's
assertTimeoutPreemptively()
. - Mention JUnit 4's
Timeout
rule andtimeout
support. - Mention TestNG's
timeOut
support.
Reference URL: junit-team/junit5#1701
Issue Links:
- Support timed transactional TestNG tests in the TestContext framework [SPR-6124] #10792 Support timed transactional TestNG tests in the TestContext framework