microsoft / microsoft/vscode-java-test

When I run the spring source code test class, I get an error: No tests fount with test runner 'JUnit 5'

Open
#1,675 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

as title,When I run the spring source code test class, I get an error: No tests fount with test runner 'JUnit 5'
CleanShot 2024-03-27 at 09 41 53@2x
eg:spring-beans/src/test/java/org/springframework/beans/AbstractPropertyAccessorTests.java

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 failure by running spring-beans/src/test/java/org/springframework/beans/AbstractPropertyAccessorTests.java with the JUnit 5 test runner. Start by checking how this Spring source test class is discovered and launched, then verify the runner recognizes its tests. Done means the class runs without the “No tests found” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, vscode
Domain
testing-qa
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.