Skip to content

Coverage Testing Not Working #1710

@spragunr

Description

@spragunr

Coverage testing isn't working for me. When I run with coverage, the progress monitor spins indefinitely and no coverage information is provided. The test results are displayed correctly if I run without coverage.

This is in an unmanaged folder with a single HelloWorld file and a single JUnit5 test file. No workspace settings are provided.

I'm seeing the following error in the extension host logs:

2024-07-16 11:57:47.238 [error] Error: Error while analyzing /home/spragunr/.config/Code/User/workspaceStorage/ac7fe07f62529f2e22a176555b6754b7/redhat.java/jdt_ws/test_java_6709e97f/bin/lib/junit-platform-console-standalone-1.11.0-M2.jar@org/junit/platform/commons/util/ModuleUtils.class with JaCoCo 0.8.12.202403310830/dbfb6f2.
	at /home/spragunr/.vscode/extensions/redhat.java-1.32.0-linux-x64/dist/extension.js:2:1106298
	at ie (/home/spragunr/.vscode/extensions/redhat.java-1.32.0-linux-x64/dist/extension.js:2:1106592)
	at /home/spragunr/.vscode/extensions/redhat.java-1.32.0-linux-x64/dist/extension.js:2:1101376
	at Immediate.<anonymous> (/home/spragunr/.vscode/extensions/redhat.java-1.32.0-linux-x64/dist/extension.js:2:1101396)
	at process.processImmediate (node:internal/timers:478:21) java.execute.workspaceCommand {"value":"redhat.java","_lower":"redhat.java"}

The only extensions I have installed are from the "Extension Pack For Java".

vscode-java-test Extension version: 0.41.1
VS Code Version:
Version: 1.91.1
Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729
Date: 2024-07-09T22:08:12.169Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Linux x64 5.15.0-116-generic

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions