microsoft / microsoft/vscode-java-test
Quarkus junit tests don't work
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 340
- Forks
- 173
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 18
Description
One cannot run unit/integration tests with Quarkus > 3.22. Please compare with:
- https://github.com/quarkusio/quarkus/issues/48014#issuecomment-2948700542
- https://github.com/quarkusio/quarkus/issues/47656
- 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.
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.
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.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- developer-experience, testing, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100