microsoft / microsoft/vscode-java-test

Missing parameterized tests in UI?

Open
#1,513 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ai-triaged bug investigating junit test-discovery
Dominant language
TypeScript
Stars
340
Forks
173
Avg merge
1d 19h
Merged PRs (30d)
18

Description

When running JUnit parameterized tests, some tests seem to be missing from the UI.

I cannot post the full code but I have a parameterized test classes with 10 set of parameters. When running them, only 7 are shown in the UI but I see the logs for all of them in the "Test Output" console.

Not sure if this is a bug or if there is a limit to how many tests are shown? If it's the second one, is there a way to change that limit (did not find anything in the settings)?

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 with a JUnit parameterized test class containing 10 parameter sets, then compare the UI's listed tests with the entries in the "Test Output" console. Determine whether the missing entries reflect an unintended limit or another discovery/display problem; done means all parameterized cases appear correctly or the limit and its configuration are documented.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.