Skip to content

Endless Search for Tests using Junit5 sample project #1762

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ps-konfidas opened this issue Apr 2, 2025 · 2 comments
Closed

Endless Search for Tests using Junit5 sample project #1762

ps-konfidas opened this issue Apr 2, 2025 · 2 comments

Comments

@ps-konfidas
Copy link

ps-konfidas commented Apr 2, 2025

As I was having some problems with the extension, I created a blank dev container (java, bullseye-21), and clones the sample projects of junit5: (got directed there from https://code.visualstudio.com/docs/java/java-testing > https://github.com/junit-team/junit5-samples)

Image

In the testing tab, no tests are being found. And no green arrows appear next to the tests:

Image

Building it using mvn (not mvnw as it complains about "cannot read distributionUrl property in ./.mvn/wrapper/maven-wrapper.properties") works fine:

Image

All the while no tests are being found, and the extension is searching for tests for over an hour already (see first and second image).

@MateusChitolina
Copy link

Reverting to version 1.41 of the Language Support for Java(TM) by Red Hat extension will work. If you use this.

@ps-konfidas
Copy link
Author

It works - thank you for the quick help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants