Remove AbstractJpaTests and revise spring-orm test suite accordingly [SPR-13515] #18092
Labels
in: data
Issues in data modules (jdbc, orm, oxm, tx)
in: test
Issues in the test module
type: task
A general task
Milestone
Sam Brannen opened SPR-13515 and commented
Status Quo
Except for Spring's legacy JUnit 3.8 based testing framework which is still used internally within the
spring-orm
module, the Spring test suite was completely migrated to the JUnit 4 programming model in conjunction with #18091.The reason the legacy testing framework is still based on JUnit 3.8 is that
AbstractJpaTests
uses aShadowingClassLoader
to load and execute the test in a different class loader.Unfortunately, it is impossible to achieve the same results without introducing a custom JUnit
Runner
.Possible Solutions
Runner
that reproduces the behavior inAbstractJpaTests
.AbstractJpaTests
to JUnit 4 without the use of aShadowingClassLoader
.Deliverables
AbstractJpaTests
along with the remainder of the legacy JUnit 3.8 based testing framework in thespring-orm
module.AbstractJpaTests
accordingly.Affects: 4.2 GA
Issue Links:
The text was updated successfully, but these errors were encountered: