microsoft / microsoft/vscode-java-test
Inherited tests not supported
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 340
- Forks
- 173
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 18
Description
Codelens appears for the abstract test class even though it cannot be run directly (IntelliJ redirects you to the classes that inherit from the abstract class instead ...)
Codelens does not appear on the classes that inherit from the abstract test class
Sidebar only runs tests in abstract class resulting in InstantiationException because it's abstract.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the behavior with an abstract test class and one or more inheriting test classes in the VS Code Java test extension. Trace how Codelens entries and sidebar test execution are discovered and launched. Done means inherited classes expose runnable Codelens entries, while the abstract class is not offered as a directly runnable test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, vscode
- Domain
- developer-experience, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100