Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903042 Convert to JUnit 5
  3. CODETOOLS-7903055

Replace `junit.jar` with `junit-platform-console-standalone` artifact

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • None
    • tools

      The `junit-platform-console-standalone` artifact available via Maven Central [1] can be used as a drop-in replacement for various other libraries listed in JUnit's 5 User Guide [2]. Included are `junit:junit:4.13.2` and also `org.hamcrest:hamcrest-core:1.3`.

      This task is about to download artifact `org.junit.platform:junit-platform-console-standalone:1.8.2` and store it as `lib/junit.jar` -- and remove all traces of downloading and storing artifact `junit:junit:4.13.2`. Also, remove code for downloading and storing HamCrest artifact.

      All tests in project jtreg and all tests in all other projects, including the JDK itself, should run as-is.

      [1]: https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-console-standalone/
      [2]: https://junit.org/junit5/docs/snapshot/user-guide/#running-tests-console-launcher

            cstein Christian Stein
            cstein Christian Stein
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: