Skip to content

VS Code does not recognize junit tests after update Language Support for Java #1768

@esonic

Description

@esonic

After I update extension "Language Support for Java(TM) by Red Hat" to latest version v1.41.1, the test run button in the editor gutter disappeared, and no test found in the Testing view.

It costed me a lot of time to find out why, and finally turn out to be the extension: "Language Support for Java(TM) by Red Hat".
If I downgrade this extension back to version v1.40.0, then everything works fine.

So is the Test Runner extension not compatible with the new Language Support extension?

test runner version: 0.43.0

Version: 1.98.2 (Universal)
Commit: ddc367ed5c8936efe395cffeec279b04ffd7db78
Date: 2025-03-12T13:32:45.399Z
Electron: 34.2.0
ElectronBuildId: 11161602
Chromium: 132.0.6834.196
Node.js: 20.18.2
V8: 13.2.152.36-electron.0
OS: Darwin arm64 24.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions