Skip to content

Results not reported for JUnit 5 suites #1729

Open
@RolKau

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions