Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-16446

Document JUnit Jupiter options in Spring 4.3.x

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 4.3.14
    • Fix Version/s: 4.3.18
    • Component/s: [Documentation], Test
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      I am migrating a Spring 4.x project from JUnit 4 to JUnit 5, taking in consideration to use all the APIs of JUnit 5, thus removing all usage of JUnit 4.

      I realize I must use either @ExtendWith(SpringExtension.class), @SpringJUnitConfig, or @SpringJUnitWebConfig, but this requires an upgrade to Spring 5.

      I checked Spring Framework Reference Documentation 4.3.14.RELEASE, but it is not clear, for example, if Spring 4.x can be used with JUnit 5 and how.

      A dedicated section would be valuable.

        Attachments

          Activity

            People

            • Assignee:
              sbrannen Sam Brannen
              Reporter:
              dr_pompeii Manuel Jordan
              Last updater:
              St├ęphane Nicoll
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 weeks, 4 days ago