microsoft / microsoft/vscode-java-test
[BUG] The extension uses raw data.
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.