Yang Jie created SPARK-38814:
--------------------------------

             Summary: Migrate Junit4 to Junit5
                 Key: SPARK-38814
                 URL: https://issues.apache.org/jira/browse/SPARK-38814
             Project: Spark
          Issue Type: Improvement
          Components: Tests
    Affects Versions: 3.4.0
            Reporter: Yang Jie


JUnit5 is a powerful and flexible update to the JUnit framework, and it 
provides a variety of improvements and new features to organize and
describe test cases, as well as help in understanding test results:
 # JUnit 5 leverages features from Java 8 or later, such as lambda functions, 
making tests more powerful and easier to maintain, but Junit 4 still a Java 7 
compatible version
 # JUnit 5 has added some useful new features for describing, organizing, and 
executing tests. For examples: [Parameterized 
Tests|https://junit.org/junit5/docs/current/user-guide/#writing-tests-parameterized-tests]
 and [Conditional Test 
Execution|https://junit.org/junit5/docs/current/user-guide/#extensions-conditions]
 may make our test code look simpler, [Parallel 
Execution|https://junit.org/junit5/docs/current/user-guide/#writing-tests-parallel-execution]
 may make our test faster



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to