Skip to content

JUnit 6 support ? #1801

Closed
Closed

Description

@jy95

Hello,

JUnit 6 is out from a moment : https://docs.junit.org/6.0.0/release-notes/#release-notes-6.0.0
Do you plan to support it in a near future ?

Kind regards

Activity

  1. github-actions commented on Oct 15, 2025

    @github-actions

    Hi Jacques Yakoub (@jy95), I'm an AI Support assistant here to help with your issue. While the team reviews your request, I wanted to provide some possible tips and documentation that might help you in the meantime.

    Currently, the VS Code Java Test extension supports JUnit 4 and JUnit 5 only; there’s no built-in JUnit 6 support yet.

    • To track or request JUnit 6 support, please open a feature request in the Java Test repo: https://github.com/microsoft/vscode-java-test/issues/new
    • For an example of how new frameworks are added, see how TestNG support was implemented and released: #248 (#248 (comment))

    Other references with low confidence

    • Support JUnit with legacy JRE (Java 6)
    • Discusses running tests under Java 6, not JUnit 6 itself
    • #345

    • [Junit] Junit support for java debug
    • Covers creating a custom runner for JUnit 4, not JUnit 6
    • microsoft/vscode-java-debug#76 (comment)

    • Support JUnit-dataprovider
    • Concerns the junit-dataprovider library, not core JUnit versions
    • #91

    The team will respond to your issue shortly. I hope these suggestions are helpful in the meantime. If this comment helped you, please give it a 👍. If the suggestion was not helpful or incorrect, please give it a 👎. Your feedback helps us improve!

  2. biloboy commented on Nov 14, 2025

    @biloboy

    Hello,
    Since JUnit 6 has officially been released, I was wondering whether support for it is planned in the Java Test Runner extension.
    Is this something that might be coming in a future update?
    Kind regards.

  3. wenytang-ms commented on Mar 3, 2026

    @wenytang-ms
    Contributor

    Hi Jacques Yakoub (@jy95) biloboy
    we already ship the latest test runner for java to support junit-6, please upgrade to latest version or prerelease to have a try!
    thanks!

  4. slinstaedt commented on Mar 3, 2026

    @slinstaedt

    lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions