vscode-java-test icon indicating copy to clipboard operation
vscode-java-test copied to clipboard

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

Open chenyuanmac opened this issue 3 years ago • 6 comments

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

chenyuanmac avatar Aug 16 '21 06:08 chenyuanmac

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

Preranamisra avatar Aug 21 '21 11:08 Preranamisra

@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 avatar Aug 22 '21 06:08 jdneo

@Preranamisra Is there anything I can help?

jdneo avatar Sep 01 '21 03:09 jdneo

@jdneo why the codelens disapper , in https://github.com/microsoft/vscode-java-test/issues/1283#issue-971414601

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

cyberskycat avatar Oct 08 '21 15:10 cyberskycat

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

jdneo avatar Oct 09 '21 01:10 jdneo

@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

cyberskycat avatar Oct 09 '21 03:10 cyberskycat