microsoft/vscode-java-test

Test Explorer not listing Cucumber-JVM tests

evilC opened this issue · 1 comments

Repro:

  1. Create Java project
  2. Maven
  3. Cucumber.io archetype (7.11.1)
  4. everything default

Installed plugins (EVERYTHING else disabled):
image
Test runner for java version: v0.42.0
Also tried v0.42.2024080609 (pre-release)

image

Issue:
Code_UTVjD9wqWE

  • 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

This appears to be a JUnit5 specific issue. If I switch to JUnit4, the Test Explorer works just fine