Skip to content

JUnit 5 from Eclipse Project not working #1467

Closed

Description

@Snowald

If you try to run JUnit 5 test in a project which was created in Eclipse the do not work and you get the following two issues:

Invalid classpath container: 'JUnit 5' in project 'JUnitTester'
The project cannot be built until build path errors are resolved

I have attached an example project as well as a screenshot from said example.
JUnitTester.zip
Screenshot from 2022-08-08 20-19-30
Screenshot from 2022-08-08 20-23-17

If there is anything else needed just let me know.

The VSCode About popup:
Version: 1.70.0
Commit: da76f93349a72022ca4670c1b84860304616aaa2
Date: 2022-08-04T04:38:48.541Z
Electron: 18.3.5
Chromium: 100.0.4896.160
Node.js: 16.13.2
V8: 10.0.139.17-electron.0
OS: Linux x64 5.15.0-43-generic

Activity

  1. jdneo commented on Aug 9, 2022

    @jdneo
    Member

    The JUnit 5 classpath container is not supported yet, please refer to this link as a workaround: https://stackoverflow.com/a/73243569/13068918

  2. Snowald commented on Aug 10, 2022

    @Snowald
    Author

    Thank you

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

Metadata

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