You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yang Jie (Jira)" <ji...@apache.org> on 2022/04/07 03:06:00 UTC

[jira] [Created] (SPARK-38814) Migrate Junit4 to Junit5

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org