bloomberg/blazingmq-sdk-java

Use JUnit5 for tests instead of JUnit4

MikeLaptev opened this issue · 0 comments

Is there an existing proposal for this?

  • I have searched the existing proposals

Is your feature request related to a problem?

I have been looking into the SDK and noticed that it is still using JUnit 4 for testing, considering that JUnit 5 is the current version with a lot of extensions, it would be great to migrate the tests to use the latest compatible version of JUnit for JDK8, JDK11 and JDK17.

Describe the solution you'd like

I would like to switch JUnit 4 to JUnit 5, following the guidelines from their official site, as well as update the version of the Mockito framework accordingly.

One of the possible approaches would be to use https://docs.openrewrite.org/running-recipes/popular-recipe-guides/migrate-from-junit-4-to-junit-5 as a recipe to quickly apply initial set of changes.

Alternatives you considered

No response