Closed
Description
Sam Brannen opened SPR-13514 and commented
Status Quo
JUnit 4.0 was released almost a decade ago; however, there are still numerous test classes in Spring's own test suite that are based on the legacy JUnit 3 programming model and APIs.
In preparation for the upcoming JUnit 5 (a.k.a., JUnit Lambda) release we should therefore proactively migrate our test suite completely to the JUnit 4 programming model.
Deliverables
- Migrate existing JUnit 3 based tests to JUnit 4.
- Migrate Spring's legacy testing framework -- which is still used internally within the
spring-orm
module -- to JUnit 4.- This action has not been performed due to challenges resulting from the use of a
ShadowingClassLoader
inAbstractJpaTests
. - To be addressed in Remove AbstractJpaTests and revise spring-orm test suite accordingly [SPR-13515] #18092.
- This action has not been performed due to challenges resulting from the use of a
Affects: 4.2 GA
Issue Links:
- SimpleAsyncTaskExecutor not respect ConcurrencyThrottleSupport.NO_CONCURRENCY limit [SPR-15895] #20449 SimpleAsyncTaskExecutor not respect ConcurrencyThrottleSupport.NO_CONCURRENCY limit
- Introduce support for JUnit 5 in the TestContext framework [SPR-13575] #18151 Introduce support for JUnit 5 in the TestContext framework
- Remove AbstractJpaTests and revise spring-orm test suite accordingly [SPR-13515] #18092 Remove AbstractJpaTests and revise spring-orm test suite accordingly