Stamatis Zampetakis created IMPALA-14925:
--------------------------------------------
Summary: Migrate from JUnit4 to JUnit6
Key: IMPALA-14925
URL: https://issues.apache.org/jira/browse/IMPALA-14925
Project: IMPALA
Issue Type: Task
Components: Test
Reporter: Stamatis Zampetakis
The JUnit4 release line is in maintenance mode with the last release
([4.13.2|https://github.com/junit-team/junit4/releases/tag/r4.13.2]) dating
back in Feb 13, 2021. This task is about migrating to the latest actively
maintained release line that at this point in time is
[6.0.3|https://github.com/junit-team/junit-framework/releases/tag/r6.0.3].
Although it is feasible to use JUnit4 and JUnit6 at the same time through the
vintage test engine in practice various issues arise when used in conjunction
with some plugins such as [Maven Surefire
Plugin|https://maven.apache.org/surefire/maven-surefire-plugin/].
Given that the number of Java based tests are not using many exotic features,
opting for a full migration of JUnit4 to JUnit6, i.e., dropping entirely the
JUnit4 dependencies, is more advantageous and would simplify future maintenance.
The migration guide can be found here:
https://docs.junit.org/6.0.3/migrating-from-junit4.html
--
This message was sent by Atlassian Jira
(v8.20.10#820010)