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

Extension might not be activated since 0.34.1 #1381

Closed
Sandared opened this issue Mar 2, 2022 · 9 comments · Fixed by #1382
Closed

Extension might not be activated since 0.34.1 #1381

Sandared opened this issue Mar 2, 2022 · 9 comments · Fixed by #1382
Labels
Milestone

Comments

@Sandared
Copy link

Sandared commented Mar 2, 2022

When using version 0.34.1 (I did so on Gitpod) none of my tests are recognized anymore.
No play button is shown and also in the Testing View no tests are shown. Everything works fine with 0.34.0

@jdneo
Copy link
Member

jdneo commented Mar 2, 2022

Will it help if you re-load the window? Is it occurring for all Java projects?

@Sandared
Copy link
Author

Sandared commented Mar 2, 2022

Reloading does not help. I also don't get any error message. It just doesn't show the tests anymore.
I didn't check it with other Java projects yet, as I don't have that many with tests ^^

@jdneo
Copy link
Member

jdneo commented Mar 2, 2022

Thank for the information. Is it possible to share a sample project for this issue?

@Sandared
Copy link
Author

Sandared commented Mar 2, 2022

The repo this happens in is unfortunately private. The only thing that (IMHO) is uncommon is that this repo has an explicit unittest subproject containing all unittests for all modules instead of tests in each submodule (It's a Maven multi module project)

It also has some few "normal" unit tests in each submodule though. But those are not recognized either

@jdneo
Copy link
Member

jdneo commented Mar 3, 2022

Hi @Sandared,

I tried to make some changes, not sure if I found the root cause or not. Would you mind to try installing this bit and let me know if the problem get solved?

vscode-java-test-0.34.1.vsix.zip

@liechtir
Copy link

liechtir commented Mar 3, 2022

Hi @jdneo, I confirm the same issue with the vanilla 0.34.1. When downgrading to 0.34.0 all is back to normal.
Your enhanced version of 0.34.1 also fixes the issue, my tests are back and I can run them.
Thank you, looking forward to get the 0.34.2 then ;-)

@jdneo
Copy link
Member

jdneo commented Mar 3, 2022

@liechtir Thank you for the information. I'll wait a little bit more to see if the patch fix @Sandared's problem as well. If yes I'll release a hot fix for this.

Sorry for introducing the issue.

@jdneo jdneo added the bug label Mar 3, 2022
@jdneo jdneo pinned this issue Mar 3, 2022
@Sandared
Copy link
Author

Sandared commented Mar 3, 2022

Hi @jdneo ,
awesome work 👍 everything works again!
Thanks for the quick response!

@jdneo jdneo changed the title Tests are not found anymore since 0.34.1 Extension might not be activated since 0.34.1 Mar 4, 2022
@jdneo
Copy link
Member

jdneo commented Mar 4, 2022

Hi all,

0.34.2 is now planned to release in early next week. In 0.34.2 we also adopted one new API from VS Code, so please remember to update your VS Code to 1.65.0.

@jdneo jdneo added this to the 0.34.2 milestone Mar 4, 2022
@jdneo jdneo unpinned this issue Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants