Vscode-java-test: Failed to get workspace folder for the test items when running the test cases

Created on 15 May 2019  路  2Comments  路  Source: microsoft/vscode-java-test

Repro step:

  1. Open a test project
  2. Open another test file with is not belong to the project (This operation will cause the JLS to create a new project in the workspace storage)
  3. Run tests at root level in the test explorer

Root cause:

The test searcher will find the single file as a testable file, but it does not belong to the current workspace actually.

bug

Most helpful comment

Hello,
I am "Failed to get workspace folder for the test items" error on Java TestRunner 0.19.
I only get this error when I try to run tests through remote-ssh.
Could you please let me know if there is any workaround?

Thanks.
Chandan

All 2 comments

Hello,
I am "Failed to get workspace folder for the test items" error on Java TestRunner 0.19.
I only get this error when I try to run tests through remote-ssh.
Could you please let me know if there is any workaround?

Thanks.
Chandan

Hi @chandangreddy,

Thank you for your feedback. I'll take a look with it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

falco467 picture falco467  路  7Comments

thegabriele97 picture thegabriele97  路  8Comments

ashoknailwal picture ashoknailwal  路  8Comments

jbelford picture jbelford  路  5Comments

brianngo313 picture brianngo313  路  6Comments