microsoft / vscode-java-test

Run and debug Java test cases in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-test
Other
297 stars 131 forks source link

Test Explorer not listing Cucumber-JVM tests #1731

Open evilC opened 2 months ago

evilC commented 2 months ago

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

Generated project: demo.zip

Using Maven to create a normal JUnit5 test seems to work fine, this only appears to affect cucumber tests

evilC commented 2 months ago

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