Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-25325

Migration Flink from Junit4 to Junit5

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.14.0
    • 1.20.0
    • Tests

    Description

      Based on the consensus from the mailing list discussion[1][2], we have been starting working on the JUnit4 to JUnit5 migration. 

      This is the umbrella ticket which describes the big picture of the migration with following steps:

      • AssertJ integration and guideline
      • Test Framework upgrade from JUnit4 to JUnit5
      • JUnit5 migration guideline(document and reference migration)
      • Optimization for issues found while writing new test in JUint5
      • [Long-term]Module based graceful migration of old tests in JUnit4 to JUnit5

      All JUnit5 migration related tasks are welcome to be created under this umbrella. 

       

      https://github.com/apache/flink/pull/24483 is an excellent PR as example. Please create similar Brief change log summary for new PR.

       

      [1] [DISCUSS]Moving to JUnit5

      [2] [DISCUSS] Conventions on assertions to use in tests

      [3] JUnit5 migration guide

      Attachments

        Issue Links

          1.
          [JUnit5 Migration] Module: flink-core Sub-task Reopened Aiden Gong
          2.
          [JUnit5 Migration] Module: flink-connector-kafka Sub-task Open xiang1 yu
          3.
          [JUnit5 Migration] Module: flink-connector-base Sub-task Open Sergey Nuyanzin
          4.
          [JUnit5 Migration] Module: flink-filesystems Sub-task Open Jörn Kottmann
          5.
          [JUnit5 Migration] SnapshotMigrationTestBase Sub-task Open Chesnay Schepler
          6.
          [JUnit5 Migration] Module: flink-table-runtime Sub-task Open Sergey Nuyanzin
          7.
          [JUnit5 Migration] Module: flink-csv Sub-task Open Ryan Skraba
          8.
          [JUnit5 Migration] Module: flink-connector-hive Sub-task In Progress hk__lrzy
          9.
          [JUnit5 Migration] Module: flink-connector-kinesis Sub-task In Progress Ahmed Hamdy
          10.
          [JUnit5 Migration] Module: flink-hadoop-buik Sub-task Open Ryan Skraba
          11.
          [JUnit 5 Migration] Remove RetryRule Sub-task Open Unassigned
          12.
          [JUnit5 Migration] Module: flink-statebackend-rocksdb Sub-task Open Yangyang ZHANG
          13.
          [JUnit5 Migration] Module: flink-statebackend-changelog Sub-task Open Rui Xia
          14.
          [JUnit5 Migration] The deployment and dispatcher packages of flink-runtime module Sub-task In Progress Rui Fan
          15.
          [JUnit5 Migration] The entrypoint, event, execution and externalresource packages of flink-runtime module Sub-task In Progress Rui Fan
          16.
          [JUnit5 Migration] The failure, filecache, hadoop, heartbeat, highavailability and instance packages of flink-runtime module Sub-task In Progress Rui Fan
          17.
          [JUnit5 Migration] The iterative, jobgraph and jobmanager packages of flink-runtime module Sub-task In Progress Rui Fan
          18.
          [JUnit5 Migration] The jobmaster package of flink-runtime module Sub-task Open RocMarshal
          19.
          [JUnit5 Migration] The scheduler package of flink-runtime module Sub-task Open RocMarshal
          20.
          [JUnit5 Migration] The security, taskmanager and source packages of flink-runtime module Sub-task Open Yangyang ZHANG
          21.
          Unify the TestLoggerExtension config of junit5 Sub-task In Progress Rui Fan
          22.
          Minimize visibility of parameterized tests Sub-task Open jiabao.sun
          23.
          [JUnit5 Migration] Module: Flink CDC Sub-task Open LvYanquan

          Activity

            People

              Unassigned Unassigned
              jingge Jing Ge
              Votes:
              0 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated: