[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.

Assessment

This issue has not been assessed yet.

Description

ai-triaged bug gradle high-priority test-execution

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.

Dominant language
TypeScript
Stars
340
Forks
173
Avg merge
1d 2h
Merged PRs (30d)
17

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.

More from microsoft/vscode-java-test

All issues in microsoft/vscode-java-test

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.