Quarkus junit tests don't work

Open
#1,800 6 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java, typescript, vscode

Research direction

Start by comparing the linked Quarkus issues and test-classloading rewrite with the VS Code extension's Eclipse runner dependencies. Inspect the use of org.eclipse.jdt.junit5.runtime_1.1.300.v20231214-1952.jar and related dependencies, then verify that unit and integration tests run with Quarkus versions above 3.22 through the extension.

Written by the indexing model from the issue text.

Description

ai-triaged bug high-priority junit test-execution

One cannot run unit/integration tests with Quarkus > 3.22. Please compare with:

  1. https://github.com/quarkusio/quarkus/issues/48014#issuecomment-2948700542
  2. https://github.com/quarkusio/quarkus/issues/47656
  3. https://quarkus.io/blog/test-classloading-rewrite/

It looks like, the fix has been applied in eclipse runner, but has not been applied for the VSCode extenstion, which is still from Apr 03 2025. I think you have to upgrade dependency org.eclipse.jdt.junit5.runtime_1.1.300.v20231214-1952.jar which seems to very old (2023?) to org.eclipse.jdt.junit5.runtime-1.1.400.jar, plus all related dependencies.

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.