Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Explorer not listing Cucumber-JVM tests #1731

Open
evilC opened this issue Sep 10, 2024 · 1 comment
Open

Test Explorer not listing Cucumber-JVM tests #1731

evilC opened this issue Sep 10, 2024 · 1 comment

Comments

@evilC
Copy link

evilC commented Sep 10, 2024

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

@evilC
Copy link
Author

evilC commented Sep 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant