Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-6729 Migrate tests to JUnit5
  3. HDDS-9492

Ban import of JUnit4 classes in modules already migrated to JUnit5

    XMLWordPrintableJSON

Details

    Description

      Some modules had been completely migrated to JUnit5. Ideally we should remove JUnit4 dependency, but it is also coming transitively from test utils. Until the dependency can be completely removed, we should ban import of JUnit4 classes in such modules to avoid JUnit4 tests creeping back.

      The goal of this task is to introduce the ban in modules that are currently completely on JUnit5. Test migration tasks should then also add the rule to modules being cleaned up.

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: