microsoft / vscode-java-test

Run and debug Java test cases in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-test
Other
290 stars 124 forks source link

Run/Debug Tests and Run Tests with Coverage from java file don't work #1687

Closed v-yuyul closed 2 months ago

v-yuyul commented 2 months ago

Environment:

Step to Reproduce:

  1. Clone and open https://github.com/junit-team/junit5-samples/tree/master/junit5-migration-maven
  2. Right click the java file under src/test/java/com/example/project > Run/Debug Tests or Run Tests with Coverage

Expected Behavior:

Actual Behavior: Run/Debug Tests and Run Tests with Coverage don't work while all tests works in test runner explorer.

image

jdneo commented 2 months ago

Looks like an upstream issue: https://github.com/microsoft/vscode/issues/211338