Skip to content

Migrate from JUnit 4 (Vintage Engine) to JUnit 5 or 6 #259

@katharinabassler

Description

@katharinabassler

What?
Migrate existing JUnit 4 tests to JUnit 5 or 6 to leverage modern testing features and ensure long-term compatibility. The Vintage Engine (JUnit 4 support) is deprecated as of JUnit 6.

Why?
JUnit 4 is outdated and lacks support for new Java testing innovations. Spring Boot and other modern frameworks no longer support JUnit 4. The Vintage Engine is deprecated, posing a risk for future compatibility.

Scope:

  • New tests should be written directly in JUnit 5/6.
  • Existing tests (105 in total) should be migrated incrementally, especially when they require updates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    design changeChange or removal of existing features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions