[DISCUSS] Prefer JUnit5 for new tests

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[DISCUSS] Prefer JUnit5 for new tests

Akira Ajisaka-5
Hi folks,

Now we are slowly migrating from JUnit4 to JUnit5.

However, as Steve commented [1], if we are going to migrate the
existing tests, the backporting cost will become too expensive.
Therefore, I'd like to recommend using JUnit5 for new tests before
migrating the existing tests. Using junit-vintage-engine, we can mix
JUnit4 and JUnit5 APIs in the same module, so writing new tests in
JUnit5 is relatively easy.

Any thoughts?

[1] https://issues.apache.org/jira/browse/HADOOP-16318?focusedCommentId=16890955&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16890955


To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]