microsoft / microsoft/vscode-java-test

[BUG] The extension uses raw data.

Open
#1,880 2 comments 0 reactions 1 assignee View on GitHub

@wenytang-ms is already working on this.

Since Jul 6, 2026.

ai-triaged bug gradle high-priority test-execution
Dominant language
TypeScript
Stars
340
Forks
173
Avg merge
1d 19h
Merged PRs (30d)
18

Description

The extension uses raw data from "src/main/resources" instead of "build/resources/main". Because of this, raw resource data is used during testing.

Configuring the extension solves the problem:

"java.test.config": {
        "workingDirectory": "${workspaceFolder}",
        "classpath": "${workspaceFolder}/build/classes/java/test:${workspaceFolder}/build/resources/main:${workspaceFolder}/build/resources/test"
    }

I think this is a bug, as using raw data from resources leads to incorrect test results.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.