Skip to content
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

Upgrading to 1.23.0 makes all tests disappear #3338

Closed
WildPenquin opened this issue Oct 11, 2023 · 5 comments
Closed

Upgrading to 1.23.0 makes all tests disappear #3338

WildPenquin opened this issue Oct 11, 2023 · 5 comments
Labels

Comments

@WildPenquin
Copy link

WildPenquin commented Oct 11, 2023

Greetings!

After upgrading to 1.23.0, all my tests disappear. Downgrading to 1.22.1, tests reappear.

I'm not sure if I should report against this plugin or the tests plugin or some other plugin (Maven???), or perhaps Code OSS, as I have no idea where the actual problem is. However, given that tests plugin has not had a release recently, I reported here as a first step. In case this is invalid/wrong, I apologize.

I can recreate this with a newly created Maven project. I can recreate this with a fresh Code OSS configuration. With the 1.23.0 the template test can not be seen in the test runner UI, with 1.22.1 it can be found.

Environment
  • Operating System: Arch Linux
  • JDK version: 17
  • Visual Studio Code version: Code OSS 1.83.0

Version: 1.83.0
Commit: e7e037083ff4455cf320e344325dacb480062c3c
Date: 2023-10-06T10:42:02.233Z
Electron: 25.9.0
ElectronBuildId: undefined
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Linux x64 6.5.6-arch2-1

  • Java extension version: 1.23.0
Steps To Reproduce
  1. Install Java Plugin pack ( Java support and test plugins are enough, though)
  2. Create a new project with Maven; mvn archetype:generate -DgroupId=test.wildpenguin.app -DartifactId=Test-App -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.4 -DinteractiveMode=false
  3. Open this project in VS Code
  4. Try to find the test in the tests section

The sample project can be generated with the above command.

vscode-app-1697028635332.log
.log

Current Result

The tests are not shown in the UI tests section (the tests section here, but the single test in this example can not be found in the tree).

Expected Result

The tests should be shown in the UI tests section.

Additional Informations

The tests are shown in case I downgrade the JAVA plugin to the previous release (1.22.1)

@WildPenquin
Copy link
Author

I have tested with the VS Code 1.83.0 binary, and test are available.

So, it's a combination of the Java plugin >= 1.23.0, Code OSS and the tests plugin (and something else?), which causes the tests to not be available in the UI.

Any input on where I should report this are welcome (if this is not the right place)!

@snjeza
Copy link
Contributor

snjeza commented Oct 11, 2023

@WildPenquin Could you try to use the v0.40.0 version of the Test Runner for Java extension?

@WildPenquin
Copy link
Author

Hi @snjeza ,

Upgrading to 0.40.2023100808, I can use tests again from the UI! (in Code OSS).

I've never realized Code OSS uses a different marketplace until now. Open-vsx only has vscode-java-test 0.39.1.

@WildPenquin
Copy link
Author

Hi again,

Any idea who / which would be the right upstream, should I ping them / open another issue, or are they already aware?

Is it perhaps open-vsx?

@jdneo
Copy link
Collaborator

jdneo commented Oct 13, 2023

open-vsx should be the right upstream.

@jdneo jdneo closed this as not planned Won't fix, can't repro, duplicate, stale Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants