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.16.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. 

       

       

      [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 Open Unassigned
          2.
          [JUnit5 Migration] Module: flink-connector-kafka Sub-task Open Unassigned
          3.
          [JUnit5 Migration] Module: flink-runtime Sub-task Open Unassigned
          4.
          [JUnit5 Migration] Module: flink-test-utils Sub-task Closed Chesnay Schepler
          5.
          [JUnit5 Migration] Module: flink-runtime-web Sub-task Closed Unassigned
          6.
          [JUnit5 Migration] Module: flink-yarn Sub-task Closed RocMarshal
          7.
          [JUnit5 Migration] Module: flink-streaming-java Sub-task Open Zhilong Hong
          8.
          [JUnit5 Migration] Module: flink-clients Sub-task Closed RocMarshal
          9.
          [JUnit5 Migration] Module: flink-connector-base Sub-task Open Unassigned
          10.
          [JUnit5 Migration] Module: flink-optimizer Sub-task Closed Unassigned
          11.
          [JUnit5 Migration] Module: flink-sql-parser Sub-task Closed Sergey Nuyanzin
          12.
          [JUnit5 Migration] Module: flink-dstl Sub-task Closed RocMarshal
          13.
          [JUnit5 Migration] Module: flink-kuberbetes Sub-task Closed reswqa
          14.
          [JUnit5 Migration] Module: flink-metrics-statsd Sub-task Closed Chesnay Schepler
          15.
          [JUnit5 Migration] Module: flink-metrics-slf4j Sub-task Closed Chesnay Schepler
          16.
          [JUnit5 Migration] Module: flink-metrics-prometheus Sub-task Closed Chesnay Schepler
          17.
          [JUnit5 Migration] Module: flink-metrics-jmx Sub-task Closed Chesnay Schepler
          18.
          [JUnit5 Migration] Module: flink-metrics-influxdb Sub-task Closed Chesnay Schepler
          19.
          [JUnit5 Migration] Module: flink-metrics-graphite Sub-task Closed Chesnay Schepler
          20.
          [JUnit5 Migration] Module: flink-metrics-dropwizard Sub-task Closed Chesnay Schepler
          21.
          [JUnit5 Migration] Module: flink-metrics-datadog Sub-task Closed Chesnay Schepler
          22.
          [JUnit5 Migration] Module: flink-metrics-core Sub-task Closed Chesnay Schepler
          23.
          [JUnit5 Migration] Module: flink-avro Sub-task Closed Ryan Skraba
          24.
          [JUnit5 Migration] Module: flink-runtime-web Sub-task Closed Chesnay Schepler
          25.
          [JUnit5 Migration] Module: flink-rpc-core Sub-task Closed Chesnay Schepler
          26.
          [JUnit5 Migration] Module: flink-rpc-akka Sub-task Closed Chesnay Schepler
          27.
          [JUnit5 Migration] Module: flink-rpc-akka-loader Sub-task Closed Chesnay Schepler
          28.
          [JUnit5 Migration] Module: flink-yarn-test Sub-task Closed RocMarshal
          29.
          [JUnit5 Migration] Module: flink-avro-confluent-registry Sub-task Closed Ryan Skraba
          30.
          [JUnit5 Migration] Module: flink-external-resources Sub-task Closed RocMarshal
          31.
          [JUnit5 Migration] Module: flink-container Sub-task Closed RocMarshal
          32.
          [JUnit5 Migration] Module: flink-*-glue-schema-registry Sub-task Closed Ryan Skraba
          33.
          [JUnit5 Migration] Module: flink-compress Sub-task Closed Ryan Skraba
          34.
          [JUnit5 Migration] Module: flink-docs Sub-task Closed RocMarshal
          35.
          [JUnit5 Migration] Module: flink-filesystems Sub-task In Progress Chesnay Schepler
          36.
          [JUnit5 Migration] Module: flink-contrib Sub-task Closed RocMarshal
          37.
          [JUnit5 Migration] Module: java-ci-tools Sub-task Closed Chesnay Schepler
          38.
          [JUnit5 Migration] Module: flink-table-api-java Sub-task Closed Sergey Nuyanzin
          39.
          [JUnit5 Migration] Module: flink-python Sub-task Closed Sergey Nuyanzin
          40.
          [JUnit5 Migration] Module: flink-json Sub-task Closed EMing Zhou
          41.
          [JUnit5 Migration] SnapshotMigrationTestBase Sub-task In Progress Chesnay Schepler
          42.
          [JUnit5 Migration] Module: flink-statebackend-heap-spillable Sub-task Closed Chesnay Schepler
          43.
          [JUnit5 Migration] Module: flink-table-code-splitter Sub-task Closed Sergey Nuyanzin
          44.
          [JUnit5 Migration] SerializerTestBase Sub-task Closed Chesnay Schepler
          45.
          [JUnit5 Migration] Module: flink-connector-aws-base Sub-task Closed Sergey Nuyanzin
          46.
          [JUnit5 Migration] Module: flink-connector-aws-kinesis-firehose Sub-task Closed Sergey Nuyanzin
          47.
          [JUnit5 Migration] Module: flink-connector-aws-kinesis-streams Sub-task Closed Sergey Nuyanzin
          48.
          [JUnit5 Migration] Module: flink-connector-files Sub-task Closed Sergey Nuyanzin
          49.
          [JUnit5 Migration] Migrate TypeInformationTestBase to Junit5 Sub-task Closed Sergey Nuyanzin
          50.
          [JUnit5 Migration] Module: flink-file-sink-common Sub-task Closed Sergey Nuyanzin
          51.
          [JUnit5 Migration] Module: flink-table-common Sub-task Closed Sergey Nuyanzin
          52.
          [JUnit5 Migration] Module: flink-table-api-scala Sub-task Closed Sergey Nuyanzin
          53.
          [JUnit5 Migration] Migrate ComparatorTestBase to Junit5 Sub-task Closed Sergey Nuyanzin
          54.
          [JUnit5 Migration] Module: flink-table-api-java-bridge Sub-task Closed Sergey Nuyanzin
          55.
          [JUnit5 Migration] Migrate TypeSerializerUpgradeTestBase to Junit5 Sub-task Open Unassigned
          56.
          [JUnit5 Migration] Module: flink-examples-table Sub-task Closed Sergey Nuyanzin
          57.
          [JUnit5 Migration] Module: flink-test-utils-junit Sub-task Closed Sergey Nuyanzin
          58.
          [JUnit5 Migration] Module: flink-table-runtime Sub-task Open Unassigned
          59.
          [JUnit5 Migration] Module: flink-scala Sub-task Open Unassigned
          60.
          [JUnit5 Migration] Module: flink-csv Sub-task Open Unassigned
          61.
          [JUnit5 Migration] Module: flink-connector-cassandra Sub-task Open Unassigned
          62.
          [JUnit5 Migration] Module: flink-connector-gcp-pubsub Sub-task Open Unassigned
          63.
          [JUnit5 Migration] Module: flink-connector-hbase-base Sub-task Open Unassigned
          64.
          [JUnit5 Migration] Module: flink-connector-hive Sub-task In Progress Yuan Kui
          65.
          [JUnit5 Migration] Module: flink-connector-jdbc Sub-task In Progress Lijie Wang
          66.
          [JUnit5 Migration] Module: flink-connector-kinesis Sub-task In Progress Jun He
          67.
          [JUnit5 Migration] Module: flink-connector-rabbitmq Sub-task Open Sergey Nuyanzin
          68.
          [JUnit5 Migration] Module: flink-hadoop-buik Sub-task Open Unassigned
          69.
          [JUnit5 Migration] Module: flink-orc and flink-orc-nohive Sub-task Open Unassigned
          70.
          [JUnit5 Migration] Migrate ScalaAPICompletenessTestBase to Junit5 Sub-task Open Unassigned
          71.
          JUnit5 Migration] Module: flink-sql-client Sub-task In Progress zhouli
          72.
          [JUnit5 Migration] Module: flink-parquet Sub-task Open Unassigned
          73.
          [JUnit5 Migration] Module: flink-sequence-file Sub-task Open Unassigned
          74.
          [JUnit5 Migration] FileSystemBehaviorTestSuite Sub-task Open Unassigned
          75.
          [JUnit5 Migration] Module: flink-java Sub-task Open Unassigned

          Activity

            People

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

              Dates

                Created:
                Updated: