redhat-developer / redhat-developer/vscode-java
impossible to launch test from vscode
Open
Nobody has claimed this yet.
caused-by-extension
Maven
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
Environment
- Operating System: macos 12.0.1
- JDK version: 11
- Visual Studio Code version: 1.67.2
- Java extension version: java extension pack v0.23.0
Steps To Reproduce
I have created a public repo so that the issue is easily reproducible:
step1: clone this repo:
git clone https://github.com/clembo590/issues.git --branch vscode_java_tests_no_launch
step2: run mvn clean install
step 3: "import the project in vscode"
open RoleTypeTest.java and try to execute the test from vscode: Impossible: the test is not detected.

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
Clone the linked repository on the vscode_java_tests_no_launch branch, run mvn clean install, and import it into Visual Studio Code. Start with RoleTypeTest.java and reproduce the missing test detection; done means the test is detected and can be launched from VS Code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- developer-experience, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100