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

Results not reported for JUnit 5 suites #1729

Open
RolKau opened this issue Sep 3, 2024 · 0 comments
Open

Results not reported for JUnit 5 suites #1729

RolKau opened this issue Sep 3, 2024 · 0 comments
Labels

Comments

@RolKau
Copy link

RolKau commented Sep 3, 2024

Versions:

VSCode 1.92.2
Test Runner for Java 0.42.0

What happens:

When running a suite written with the JUnit 5 Jupiter API, the results of the test are not reported in the Test Results pane.

What was expected:

Test results from the suite should be reported in the same way as they are with suites written to the JUnit 4 API.

Steps to reproduce:

  1. Unzip the attached project.zip
  2. Launch Visual Studio Code for the project:
    code project.code-workspace &
  3. Browse to the class TestSuiteForJUnit4.java
  4. Click on the Play button to the left of the class declaration
  5. Observe that the test method is reported in the Test Results pane
  6. Browse to the class TestSuiteForJUnit5.java
  7. Click on the Play button to the left of the class declaration
  8. Observe that the test runs, but is not reported in the Test Results pane

Minimal example:

1729-project.zip

Screenshot:

1729-TestResultPane

@jdneo jdneo added the bug label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants