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 in AbstractJpaTests.
This commit migrates all remaining tests from JUnit 3 to JUnit 4, with the exception of Spring's legacy JUnit 3.8 based testing framework that is still in use in the spring-orm module.
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
spring-orm
module -- to JUnit 4.ShadowingClassLoader
inAbstractJpaTests
.Affects: 4.2 GA
Issue Links:
The text was updated successfully, but these errors were encountered: