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

Some tests inside static class won't run after click "Run All Tests" button #1283

Open
chenyuanmac opened this issue Aug 16, 2021 · 6 comments

Comments

@chenyuanmac
Copy link

Environment:

OS: Windows
JDK: 11
Java Test Runner Extension: 0.31.2

Repro steps:

1.git clone : https://github.com/ZhengJun003/junit5-samples/tree/testrunner
2.Open junit5-jupiter-starter-maven with VSCode
3.Click "Run All Tests" from Test Explorer

Result:
Tests inside static class don't run.
image

@jdneo jdneo added the bug label Aug 16, 2021
@Preranamisra
Copy link

Hey, can u add me as a contributor? I am working on it. Will solve this within somedays.

@jdneo
Copy link
Member

jdneo commented Aug 22, 2021

@Preranamisra You can just raise your PR directly if you would like to, and I'll take a look then. This repo is open for any kind of contribution.

@jdneo
Copy link
Member

jdneo commented Sep 1, 2021

@Preranamisra Is there anything I can help?

@cyberskycat
Copy link

@jdneo why the codelens disapper , in #1283 (comment)

Environment:

OS: Windows JDK: 11 Java Test Runner Extension: 0.31.2

Repro steps:

1.git clone : https://github.com/ZhengJun003/junit5-samples/tree/testrunner 2.Open junit5-jupiter-starter-maven with VSCode 3.Click "Run All Tests" from Test Explorer

Result: Tests inside static class don't run. image

@jdneo
Copy link
Member

jdneo commented Oct 9, 2021

@cyberskycat We adopted the new testing APIs from VS Code. It's using the left side 'testing decorations' to run tests now

@cyberskycat
Copy link

cyberskycat commented Oct 9, 2021

@cyberskycat We adopted the new testing APIs from VS Code. It's using the left side 'testing decorations' to run tests now

ok thanks, and the wiki FAQ should update this info
https://github.com/microsoft/vscode-java-test/wiki/FAQ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants