OpenElis Future with Junit 4

JUnit 4 has reached the end of active development and is only receiving minimal maintenance updates. Since OpenELIS now uses Java 21 and Jakarta EE (jakarta.*), staying on JUnit 4 could limit compatibility with newer testing tools and libraries.

JUnit 5 offers modern features, active support, and full Jakarta compatibility — making it a natural step forward.

Question:
Should we start thinking about gradual migration from JUnit 4 to JUnit 5 to align with current Java and Jakarta standards

3 Likes

Thanks @Agaba_Derrick_Junior for Starting up this thread.
I agree with the idea.

Yeah we can start trying out the Migration

3 Likes

That’s a valid point @Agaba_Derrick_Junior thanks for bringing this up

@Vishal_Sharma We have had some work done on this Migration i.e

Add a vintage engine that supports smooth transition by Agaba-derrick · Pull Request #2295 · DIGI-UW/OpenELIS-Global-2 · GitHub

and

which is under review, once approved we can have some documentation on how to proceed with the the rest of the testing.