You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Max Rydahl Andersen (@maxandersen), I'm an AI Support assistant here to help with your issue. While the team reviews your request, I wanted to provide some possible tips and documentation that might help you in the meantime.
Suggestions to pinpoint test-detection issues
Open the Output panel (View → Output) and select Java Test to see the test-discovery logs. This often shows why tests aren’t picked up. (#1442)
Run Developer: Toggle Developer Tools (F1) and check the console for any errors from the Java Test extension.
Use Java: Clean the Java language server workspace (via Command Palette) and reload the window, to rule out stale caches.
Verify that JUnit (or your chosen test framework) and test dependencies are on the classpath (check your Gradle build file).
References with high confidence
Update broke the extension (#1442) – describes where to find Java Test logs and how to enable verbose logging.
Other references with low confidence
tests not detected (#4010) – reports a similar regression in test discovery after an update, though without a published solution.
The team will respond to your issue shortly. I hope these suggestions are helpful in the meantime. If this comment helped you, please give it a 👍. If the suggestion was not helpful or incorrect, please give it a 👎. Your feedback helps us improve!
no java test found in output but it did make me retry/reinstall Cursor and Code and in Code the tests showsup, but not in Cursor until vscode shows them. Now i killed vscode and cursor seem to find them ... but lets see how long it will keep finding them :)
I verified i have the same plugins and versions installed from the Java extension pack - only diff is the AI extension only available on vscode but i assume that is not related.
Had the same issue today, I found that if I downgrade Language Support for Java by Red Hat from 1.47.0 to 1.46.0 the problem solved, but according to changelog 1.47.0 only released 9 hours ago, and your issue opened last week, so I don't know if it is relevant to yours.
Reacted by Firefly, Simone Bigozzi, arda-aktas, formal-you, Apollo, Suvabrata Chowdhury, Egehan Vardar and insight-outsight
Reacted by blchilders, Ming, qianyiwen2019, shiben, Firefly, Simone Bigozzi, nickchrysaf, Daniel Lubovich, Fabrizio Antonangeli, Gregory Williams and 6 more
Had the same issue today, I found that if I down grade Language Support for Java by Red Hat from 1.47.0 to 1.46.0 the problem solved, but according to changelog 1.47.0 only released 9 hours ago, and your issue opened last week, so I don't know if it is relevant to yours.
Thanks, this is the route cause, it saved me time.
Had the same issue today, I found that if I downgrade Language Support for Java by Red Hat from 1.47.0 to 1.46.0 the problem solved, but according to changelog 1.47.0 only released 9 hours ago, and your issue opened last week, so I don't know if it is relevant to yours.
Had the same issue today, I found that if I downgrade Language Support for Java by Red Hat from 1.47.0 to 1.46.0 the problem solved, but according to changelog 1.47.0 only released 9 hours ago, and your issue opened last week, so I don't know if it is relevant to yours.
Had the same issue today, I found that if I downgrade Language Support for Java by Red Hat from 1.47.0 to 1.46.0 the problem solved, but according to changelog 1.47.0 only released 9 hours ago, and your issue opened last week, so I don't know if it is relevant to yours.
I confirm this is the solution, lets hope they fix it
Had the same issue today, I found that if I downgrade Language Support for Java by Red Hat from 1.47.0 to 1.46.0 the problem solved, but according to changelog 1.47.0 only released 9 hours ago, and your issue opened last week, so I don't know if it is relevant to yours.
Yes same problem here, from version 1.47.0 the tests are not recognised anymore. This already happend few months ago, hopefully they solve it soon. I switched to 1.46.0 and the tests can be run as usual
Activity
github-actions commentedon Oct 22, 2025
Hi Max Rydahl Andersen (@maxandersen), I'm an AI Support assistant here to help with your issue. While the team reviews your request, I wanted to provide some possible tips and documentation that might help you in the meantime.
Suggestions to pinpoint test-detection issues
References with high confidence
Other references with low confidence
The team will respond to your issue shortly. I hope these suggestions are helpful in the meantime. If this comment helped you, please give it a 👍. If the suggestion was not helpful or incorrect, please give it a 👎. Your feedback helps us improve!
maxandersen commentedon Oct 22, 2025
no java test found in output but it did make me retry/reinstall Cursor and Code and in Code the tests showsup, but not in Cursor until vscode shows them. Now i killed vscode and cursor seem to find them ... but lets see how long it will keep finding them :)
I verified i have the same plugins and versions installed from the Java extension pack - only diff is the AI extension only available on vscode but i assume that is not related.
secf4ult commentedon Oct 31, 2025
Had the same issue today, I found that if I downgrade Language Support for Java by Red Hat from 1.47.0 to 1.46.0 the problem solved, but according to changelog 1.47.0 only released 9 hours ago, and your issue opened last week, so I don't know if it is relevant to yours.
qianyiwen2019 commentedon Oct 31, 2025
Thanks, this is the route cause, it saved me time.
Fierygit commentedon Oct 31, 2025
Yu Xiao (@secf4ult) Thanks, I wasted so much time because of this bug
secf4ult commentedon Oct 31, 2025
Just some additional information, according to redhat-developer/vscode-java#4225 it's already fixed by #1798, but not released for now, you can use the binary the dev provided: redhat-developer/vscode-java#4225 (comment).
nickchrysaf commentedon Oct 31, 2025
Thank you
Raidez commentedon Oct 31, 2025
Same problem, I downgrade to 1.46.0.
It's works
2 remaining items
SuvabrataChowdhury commentedon Nov 1, 2025
Thanks. Downgrading works for me as well.
AzhadArshad commentedon Nov 1, 2025
Yu Xiao (@secf4ult) You are an angel 😭, Thank u so much
bevans2000 commentedon Nov 1, 2025
Yu Xiao (@secf4ult) Thanks, I've been pulling my hair out trying to work out what was wrong,
Apfelholz commentedon Nov 2, 2025
Yu Xiao (@secf4ult) Thanks, this did save my day.
DwarkeshDeshmukh commentedon Nov 2, 2025
@
Big thanks! The downgrade solved my issue
LorenzoSignorelliSilicon commentedon Nov 3, 2025
I confirm this is the solution, lets hope they fix it
lollolg commentedon Nov 19, 2025
Yes same problem here, from version 1.47.0 the tests are not recognised anymore. This already happend few months ago, hopefully they solve it soon. I switched to 1.46.0 and the tests can be run as usual
secf4ult commentedon Nov 20, 2025
lollolg
latest version 0.43.2 should've fixed it.Edit: looks like it breaks again.
lollolg commentedon Nov 20, 2025
I'm on 1.49.0 and the tests still cannot be seen
wenytang-ms commentedon Mar 6, 2026
Hi all, I have tested against jbang, and show all the junit cases in the treeview as following picture. can you help verify this issue?
lollolg Yu Xiao (@secf4ult) @LorenzoSIgnorelliReply DwarkeshDeshmukh
extensions
lollolg commentedon Mar 9, 2026
wenyt (@wenytang-ms)
Yes it is working fine with the latest versions thanks for looking into this
wenytang-ms commentedon Mar 10, 2026
Thanks for validate this issue and I'm going to close this issue. we will ship stable later, please reopen if this issue repro. thanks