Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903821

Update jtreg to bundle JUnit 5.11.0

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • jtreg7.5
    • jtreg7.4
    • tools
    • None

      We should update jtreg to a newer version of JUnit.

      In addition to "Numerous bug fixes and enhancements regarding field and method search algorithms" compared to JUnit 5.10.2 the following features would be a major win for writing tests:

      > - @FieldSource annotation for use with @ParameterizedTest methods
      > - Repeatable @..Source annotations for parameterized tests
      > - Enhancements for authoring dynamic and parameterized tests
      > - Java classes in published artifacts are now compiled with the -parameters option of javac and thus now contain metadata for reflection on parameters such as their names.
      > - JAVA_23 and JAVA_24 have been added to the JRE enum for use with JRE-based execution conditions.

      Find the release notes of JUnit 5.11.0 at https://junit.org/junit5/docs/current/release-notes/index.html#release-notes-5.11.0

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

              Created:
              Updated:
              Resolved: