microsoft / microsoft/vscode-java-test

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

Open
#1,283 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

ai-triaged bug help wanted high-priority investigating junit maven test-execution
Dominant language
TypeScript
Stars
340
Forks
173
Avg merge
1d 19h
Merged PRs (30d)
18

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue using the junit5-jupiter-starter-maven sample from the linked testrunner branch in VS Code. Start with the Test Explorer "Run All Tests" entry point and compare discovery of tests inside static classes with the reported result. Done means all tests in the static class run when "Run All Tests" is selected.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, vscode
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.