You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/09/24 16:55:00 UTC

[jira] [Updated] (SPARK-44170) Migrating Junit4 to Junit5

     [ https://issues.apache.org/jira/browse/SPARK-44170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated SPARK-44170:
-----------------------------------
    Labels: pull-request-available  (was: )

> Migrating Junit4 to Junit5
> --------------------------
>
>                 Key: SPARK-44170
>                 URL: https://issues.apache.org/jira/browse/SPARK-44170
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Tests
>    Affects Versions: 4.0.0
>            Reporter: Yang Jie
>            Priority: Major
>              Labels: pull-request-available
>
> 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
>  
> More importantly, Junit4 is currently an inactive project, which has not released a new version for more than two years
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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