Skip to content

Quarkus junit tests don't work #1800

Description

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

  1. Non-viable test classloader when running a group of tests (Class or Package) in VSCode quarkusio/quarkus#48014 (comment)
  2. Unable to run QuarkusTests in Eclipse since Quarkus 3.22 quarkusio/quarkus#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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions