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 Lorenzo Bettini (@LorenzoBettini), 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.
• Try clearing the Test Results panel before rerunning: click the trash icon in the Test Results view, then rerun your tests. This matches the workaround in issue #1618 (ref: #1618)
• Open the “Java Test” output channel (View → Output, then select “Java Test”) to see detailed parsing logs or errors.
• Uninstall and reinstall the Java Test Runner extension, then reload VS Code.
• If tests still aren’t detected, make sure your project is correctly configured for Maven/Gradle and you’re using a supported JUnit version.
• (Optional) Enable debug logging via setting java.test.logLevel to debug, rerun tests, and share the logs for further diagnosis.
Other references with low confidence
• Issue #258 “Make runner better consume test output”: discusses shortcomings in how test output is parsed but has no direct fix. #258
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!
This is the curlprit in this updated version 1.48.0: before the restart of the updated extensions it used to work, afterward it shows the problem above.
I can reproduce the issue with Test Runner for Java pre-release 0.43,2025040304. This is an old version and is not compatible with VS Code LS >= 1.48.0 Lorenzo Bettini (@LorenzoBettini)Christian Tzolov (@tzolov) Can you try installing Test Runner For Java 0.43.2 and disable Auto Update?
So the problem is due to jdt.ls bringing in new versions of eclipse junit support, which now requires vscode-java-test to ship junit6 specific bundles. So the proper fix would be a new release of vscode-java-test including those junit6 support jars.
Now depending on the time it'll take for the team to find a fix (Snjeza (@snjeza) is looking into it) and then performing another vscode-java-test release, we can probably do another vscode-java release (1.50) where we surgically rollback the eclipse junit support to the one used in vscode-java 1.47. Jinbo Wang (@testforstephen) wdyt?
Lorenzo Bettini (@LorenzoBettini) stick to 1.47 for now. We'll either have a new vscode-java release or pre-release restoring JUnit 6 support today hopefully, by Monday at the latest.
So the problem is due to jdt.ls bringing in new versions of eclipse junit support, which now requires vscode-java-test to ship junit6 specific bundles. So the proper fix would be a new release of vscode-java-test including those junit6 support jars.
Now depending on the time it'll take for the team to find a fix (@snjeza is looking into it) and then performing another vscode-java-test release, we can probably do another vscode-java release (1.50) where we surgically rollback the eclipse junit support to the one used in vscode-java 1.47. @testforstephen wdyt?
Fred Bricon (@fbricon) do we need to upgrade all JUNIT bundles to latest in jdtls.ext for vscode-java-test? And a cooperative work for jdtls and vscode-java-test?
The original issue here was a JUnit 6 support gap between newer JDT LS / Eclipse JUnit bundles and vscode-java-test. That part has
been addressed in the latest vscode-java-test release by shipping JUnit 6-specific support.
However, there is still a related but separate failure in recent Java extension versions where JDT's newer annotation lookup can fail
to find org.junit.platform.commons.annotation.Testable, especially with standalone/fat Multi-Release JARs such as junit-platform-console-standalone-1.13.4.jar.
The proper fix is being handled upstream in Eclipse JDT UI:
I think we should wait for that PR to be merged and then picked up by JDT LS / redhat.java, and then retest with the latest
vscode-java-test. If it still reproduces after that, we will need a fresh minimal sample project and the exact extension versions,
especially whether Gradle test delegation is enabled.
Activity
github-actions commentedon Nov 19, 2025
Hi Lorenzo Bettini (@LorenzoBettini), 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.
• Try clearing the Test Results panel before rerunning: click the trash icon in the Test Results view, then rerun your tests. This matches the workaround in issue #1618 (ref: #1618)
• Open the “Java Test” output channel (View → Output, then select “Java Test”) to see detailed parsing logs or errors.
• Uninstall and reinstall the Java Test Runner extension, then reload VS Code.
• If tests still aren’t detected, make sure your project is correctly configured for Maven/Gradle and you’re using a supported JUnit version.
• (Optional) Enable debug logging via setting
java.test.logLeveltodebug, rerun tests, and share the logs for further diagnosis.Other references with low confidence
• Issue #258 “Make runner better consume test output”: discusses shortcomings in how test output is parsed but has no direct fix. #258
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!
LorenzoBettini commentedon Nov 19, 2025
I forgot to mention: this is a Maven project, which has always worked before.
I've also tried with other Maven projects with the same result.
LorenzoBettini commentedon Nov 19, 2025
This is the curlprit in this updated version 1.48.0: before the restart of the updated extensions it used to work, afterward it shows the problem above.
LorenzoBettini commentedon Nov 19, 2025
Moreover, I see no "Trash Icon" to clear the results, neither in the "TESTING" panel nor in the "TEST RESULTS" view.
However, no I note an error popping up:
"Cannot find 'org.junit.platform.commons.annotation.Testable' on project build path. JUnit 5 tests can only be run if JUnit 5 is on the build path."
In my POM I have
So I do have JUnit in my build path...
LorenzoBettini commentedon Nov 19, 2025
I confirm: 1.47.0 of "redhat.java" works, 1.48.0 doesn't.
tzolov commentedon Nov 19, 2025
Reverting to 1.47.0 resolved the issue to me as well. Thanks Lorenzo Bettini (@LorenzoBettini)
LorenzoBettini commentedon Nov 19, 2025
They've just released 1.49.0 with the same problem!
rgrunber commentedon Nov 19, 2025
Do you have a sample project that can be shared ?
I tried with vscode-java 1.49.0 & vscode-java-test 0.43.2. It works for me.
snjeza commentedon Nov 19, 2025
I can reproduce the issue with Test Runner for Java pre-release 0.43,2025040304. This is an old version and is not compatible with VS Code LS >= 1.48.0
Lorenzo Bettini (@LorenzoBettini) Christian Tzolov (@tzolov) Can you try installing Test Runner For Java 0.43.2 and disable Auto Update?
fbricon commentedon Nov 20, 2025
So the problem is due to jdt.ls bringing in new versions of eclipse junit support, which now requires vscode-java-test to ship junit6 specific bundles. So the proper fix would be a new release of vscode-java-test including those junit6 support jars.
Now depending on the time it'll take for the team to find a fix (Snjeza (@snjeza) is looking into it) and then performing another vscode-java-test release, we can probably do another vscode-java release (1.50) where we surgically rollback the eclipse junit support to the one used in vscode-java 1.47. Jinbo Wang (@testforstephen) wdyt?
LorenzoBettini commentedon Nov 20, 2025
Hi, sorry for being late; so, for the moment, what should I try?
"installing Test Runner For Java 0.43.2 and disable Auto Update?"
or wait for 1.50.
For the moment, holding 1.47.0 of "redhat.java" allows me to work anyway.
fbricon commentedon Nov 20, 2025
Lorenzo Bettini (@LorenzoBettini) stick to 1.47 for now. We'll either have a new vscode-java release or pre-release restoring JUnit 6 support today hopefully, by Monday at the latest.
fbricon commentedon Nov 20, 2025
Please test the latest vscode-java 1.50 pre-release
LorenzoBettini commentedon Nov 20, 2025
As commented here redhat-developer/vscode-java#4260 (comment) it does fix it, thanks!
chagong commentedon Nov 24, 2025
Fred Bricon (@fbricon) do we need to upgrade all JUNIT bundles to latest in jdtls.ext for vscode-java-test? And a cooperative work for jdtls and vscode-java-test?
snjeza commentedon Nov 24, 2025
Fred Bricon (@fbricon) Changyong Gong (@chagong) Jinbo Wang (@testforstephen) You may want to take a look at eclipse-jdt/eclipse.jdt.ui#2654
mamilic commentedon Apr 26, 2026
Hi, any news on this issue. I am expriencing the same with delegating tests to gradle?
wenytang-ms commentedon Apr 27, 2026
Thanks for reporting this.
The original issue here was a JUnit 6 support gap between newer JDT LS / Eclipse JUnit bundles and vscode-java-test. That part has
been addressed in the latest vscode-java-test release by shipping JUnit 6-specific support.
However, there is still a related but separate failure in recent Java extension versions where JDT's newer annotation lookup can fail
to find
org.junit.platform.commons.annotation.Testable, especially with standalone/fat Multi-Release JARs such asjunit-platform-console-standalone-1.13.4.jar.The proper fix is being handled upstream in Eclipse JDT UI:
eclipse-jdt/eclipse.jdt.ui#2960
I think we should wait for that PR to be merged and then picked up by JDT LS / redhat.java, and then retest with the latest
vscode-java-test. If it still reproduces after that, we will need a fresh minimal sample project and the exact extension versions,
especially whether Gradle test delegation is enabled.