microsoft / microsoft/vscode-java-test
Test Explorer not listing Cucumber-JVM tests
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 340
- Forks
- 173
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 18
Description
Repro:
- Create Java project
- Maven
- Cucumber.io archetype (7.11.1)
- everything default
Installed plugins (EVERYTHING else disabled):
Test runner for java version: v0.42.0
Also tried v0.42.2024080609 (pre-release)
Issue:
- Test explorer shows no tests.
- Clicking run briefly shows 0/1 tests passed
- Then switches to 0/0 tests
Generated project:
demo.zip
Using Maven to create a normal JUnit5 test seems to work fine, this only appears to affect cucumber tests
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 unpacking demo.zip and reproducing the generated Maven Cucumber-JVM project with the Java Test Runner in VS Code. Compare its behavior with the working Maven JUnit 5 test and inspect how the Test Explorer discovers and runs each case. Done means the Cucumber tests appear in Test Explorer and running them reports the correct test count and result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100